aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-11 16:42:09 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-11 16:44:30 +0200
commitc76810a8c67e01972916830562310ef79ee4bbc1 (patch)
tree4b8b378d57a5820d3e5d75f50e9f0346cdc9bb40 /config.def.h
parent1df2e70b2dfaf3f06fd8108c6c9a6de11e6542ab (diff)
implement togglepanel() function; to "hide" the panel on runtime
togglepanel() doesn't really hide the panel togglepanel() actually resizes the windows to ignore the panel height thus overriding it when no windows are visible the panel is there, which is kind of a feature
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 0529128..4280b24 100644
--- a/config.def.h
+++ b/config.def.h
@@ -54,6 +54,7 @@ const char *dmenucmd[] = { "dmenu", NULL };
/** Shortcuts **/
static key keys[] = {
/* modifier key function argument */
+ { MOD1, XK_b, togglepanel, {NULL}},
{ MOD1|ShiftMask, XK_c, killclient, {NULL}},
{ MOD1, XK_j, next_win, {NULL}},
{ MOD1, XK_k, prev_win, {NULL}},