diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-12-14 17:21:00 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-12-14 17:21:00 -0500 |
commit | 7ebf729796f7bfdb131cd044ea1a9b306c378a95 (patch) | |
tree | 2c3ca10a12143b891269e1fd2315a7109fb18a58 /config.def.h | |
parent | 93444e924de4e1822752c7a59f5efce1e890298a (diff) |
scratchpad
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5db7d05..cadab54 100644 --- a/config.def.h +++ b/config.def.h @@ -59,11 +59,14 @@ 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", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char scratchpadname[] = "scratchpad"; +static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |