diff options
| author | P.P.A <adolphs@moselle.moe> | 2023-07-08 09:42:51 +0200 |
|---|---|---|
| committer | P.P.A <adolphs@moselle.moe> | 2023-07-08 09:42:51 +0200 |
| commit | 3eea951a662f9282de6b6847c861c358f5dc5f9f (patch) | |
| tree | 1b3402335a205c299800d7e10976235227d0b098 /config.h | |
| parent | 88a51560ef67174f46cd0b02f41b4da43465bf9a (diff) | |
scratchpad
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,11 +69,14 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-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 const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_dead_circumflex, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, |
