summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2021-08-26 16:33:26 +0400
committerAndrew <saintruler@gmail.com>2021-08-26 16:33:26 +0400
commit80e3581af2ce0892bc14b4691f8eb0f07299e89f (patch)
treec0f60729edc3cbb0359143fd8e946a95f869f5b5 /config.h
parenta7aea68aa1a58f0aa934878b7dc8f0a0a3b7a03d (diff)
Added new patches: movestack, selfrestart, resizecorners
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} },
};