diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-10 16:45:56 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-10 16:45:56 +0200 |
commit | 8e4ab04fa40ba71391ab4b3abb90b94f36cb816f (patch) | |
tree | dcd08f02d5bdb7019b8be693e869e9356e1a9e21 /config.h | |
parent | Added separators in the status script (diff) | |
download | dwm-8e4ab04fa40ba71391ab4b3abb90b94f36cb816f.tar.gz dwm-8e4ab04fa40ba71391ab4b3abb90b94f36cb816f.tar.bz2 dwm-8e4ab04fa40ba71391ab4b3abb90b94f36cb816f.zip |
Added movestack [Patch]
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config.h b/config.h index 11c1420..725321e 100644 --- a/config.h +++ b/config.h @@ -67,11 +67,14 @@ 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_b, togglebar, {0} }, - { MODKEY, XK_j, focusstack, {.i = +1 } }, - { MODKEY, XK_k, focusstack, {.i = -1 } }, + { MODKEY, XK_j, focusstack, {.i = +1 } }, + { MODKEY, XK_k, focusstack, {.i = -1 } }, + { MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } }, + { MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, |