aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorRomain Gonçalves <commit@rgoncalves.se>2021-11-21 15:46:11 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-10-09 20:09:49 +0200
commit35668c8a68aae3378145d8f2b9895c069b3fba23 (patch)
tree81318a098051fe0cb9e49604077786ef6f39892a /config.def.h
parent7df6e28325bdd48b3ad6a38b3f63fe8519b8cf8f (diff)
downloaddwm-35668c8a68aae3378145d8f2b9895c069b3fba23.tar.gz
patches: Apply movestack
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
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} },
remember that computers suck.