diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,8 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_gray2, "-sf", col_gray3, NULL }; static const char *termcmd[] = { "urxvt", NULL }; +static const char scratchpadname[] = "scratchpad"; +static const char *scratchpadcmd[] = { "urxvt", "-title", scratchpadname, "-g", "127x43", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -96,6 +98,7 @@ static Key keys[] = { { MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_a, shiftview, {.i = -1} }, { MODKEY, XK_d, shiftview, {.i = +1} }, + { MODKEY, XK_minus, togglescratch, {.v = scratchpadcmd } }, }; /* button definitions */ |