From c76810a8c67e01972916830562310ef79ee4bbc1 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Sun, 11 Dec 2011 16:42:09 +0200 Subject: 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 --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index 109de3b..c0cc622 100644 --- a/config.h +++ b/config.h @@ -65,6 +65,7 @@ const char *mtogglecmd[] = { "mpc", "toggle", 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}}, -- cgit v1.3.1