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 <me@rgoncalves.se>2023-06-05 18:15:56 +0200
commit395586f47bc57ab3b9691a2d417bcf5bbd711349 (patch)
tree1c0cdd60cf585178ffc1017b3302ff21c839a72f /config.h
parent776a10cd3d3b40424ab5b3d18be40f269f18988e (diff)
downloaddwm-395586f47bc57ab3b9691a2d417bcf5bbd711349.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.