diff options
author | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 15:46:11 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2025-02-28 13:18:48 +0100 |
commit | 7b96022d28257b33ec844b3c9f9f93e1236a537f (patch) | |
tree | ba2801412c2bd06a34fd77893eca53fd92187478 /config.def.h | |
parent | 1e50f672c8a16baf95790c559f48d80f05bcd588 (diff) | |
download | dwm-7b96022d28257b33ec844b3c9f9f93e1236a537f.tar.gz |
patches: Apply movestack
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 5150c08..0ba8249 100644 --- a/config.def.h +++ b/config.def.h @@ -60,7 +60,8 @@ 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 Key keys[] = { +#include "movestack.c" +static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, @@ -71,6 +72,8 @@ static const Key keys[] = { { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, + { MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } }, + { MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, |