summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-12-15 16:11:00 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-12-15 16:11:00 -0500
commit0596a1bf3bc7815035e8f8bbb5fe6d346eb2411b (patch)
treeaccf5616c3226cddfe5748320402667bef6aa48a /config.def.h
parent29f9e54c15d368c1ed181d59e3a94cf0feb2b293 (diff)
movestack
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 8498976..eb9cbfe 100644
--- a/config.def.h
+++ b/config.def.h
@@ -67,6 +67,7 @@ static const char *termcmd[] = { "st", NULL };
static const char scratchpadname[] = "scratchpad";
static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL };
+#include "movestack.c"
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
@@ -79,6 +80,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} },