summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index eb5b808..6788084 100644
--- a/config.h
+++ b/config.h
@@ -83,6 +83,8 @@ static const char *dmenucmd[] = {
static const char *termcmd[] = { "st", NULL };
#include <X11/XF86keysym.h>
+#include "selfrestart.c"
+#include "movestack.c"
static Key keys[] = {
/* modifier key function argument */
// These two shortcuts are handled by sxhkd
@@ -95,6 +97,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|ShiftMask, XK_Return, zoom, {0} },
// { MODKEY, XK_Tab, view, {0} },
{ MODKEY, XK_q, killclient, {0} },
@@ -121,6 +125,7 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
+ { MODKEY|ShiftMask, XK_r, self_restart, {0} },
{ MODKEY|ShiftMask, XK_e, quit, {0} },
};