diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -69,6 +69,9 @@ 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_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *browsercmd[] = { "qutebrowser", NULL }; +static const char scratchpadname[] = "scratchpad"; +static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "70x24", NULL }; + static const char *light_up[] = {"slight", "-i", "5", NULL}, @@ -104,6 +107,9 @@ static const Key keys[] = { { MODKEY, XK_minus, setgaps, {.i = -1 } }, { MODKEY, XK_equal, setgaps, {.i = +1 } }, + { MODKEY, XK_s, togglescratch, {.v = scratchpadcmd } }, + + { 0 , XF86XK_MonBrightnessUp , spawn , {.v = light_up}}, { 0 , XF86XK_MonBrightnessDown, spawn , {.v = light_down}}, { 0 , XF86XK_AudioLowerVolume, spawn , {.v = vol_down}}, |