aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRomain Gonçalves <commit@rgoncalves.se>2021-11-21 15:46:11 +0100
committerRomain Gonçalves <commit@rgoncalves.se>2021-11-21 16:07:48 +0100
commitc61e629bbd75d57cabadbf63fb5aabde056b57db (patch)
tree61ba46231cca2ad8702d86811a5616b35fe40c62 /config.h
parent0fafafcafe2111a123385a1feb953a06e318d887 (diff)
downloaddwm-c61e629bbd75d57cabadbf63fb5aabde056b57db.tar.gz
patches: Apply movestack
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index 0d48166..1b9330c 100644
--- a/config.h
+++ b/config.h
@@ -1,5 +1,7 @@
/* See LICENSE file for copyright and license details. */
+#include "movestack.c"
+
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
@@ -71,6 +73,8 @@ static Key keys[] = {
{ MODKEY, XK_u, 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|ShiftMask, XK_Return, zoom, {0} },
{ MODKEY|ShiftMask, XK_f, togglefullscr, {0} },
{ MODKEY, XK_Tab, view, {0} },
remember that computers suck.