diff options
author | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 15:46:11 +0100 |
---|---|---|
committer | Romain Gonçalves <commit@rgoncalves.se> | 2021-11-21 16:07:48 +0100 |
commit | c61e629bbd75d57cabadbf63fb5aabde056b57db (patch) | |
tree | 61ba46231cca2ad8702d86811a5616b35fe40c62 /config.def.h | |
parent | 0fafafcafe2111a123385a1feb953a06e318d887 (diff) | |
download | dwm-c61e629bbd75d57cabadbf63fb5aabde056b57db.tar.gz |
patches: Apply movestack
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 0ba6eca..78cd336 100644 --- a/config.def.h +++ b/config.def.h @@ -60,6 +60,7 @@ 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 }; +#include "movestack.c" static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, @@ -71,6 +72,8 @@ static 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} }, |