summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2023-07-23 12:05:15 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2023-07-23 12:05:15 -0500
commitf1f3dad880045cbf0b53e463ae0733ced6b237f4 (patch)
tree8196a344c5d1f2383b95007c7843877929836d3c /config.def.h
parent14dc7baf5b2f5319918897c974c5e2b0f99105c5 (diff)
added self-restart patch. DWM now restarts with super + shift + r
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 81fc9ff..ba484f2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -152,6 +152,8 @@ static const char *editorcmd[] = { "emacs", NULL };
static const char *browsercmd[] = { "firefox", NULL };
static const char *calccmd[] = { "gnome-calculator", NULL };
+#include "selfrestart.c"
+
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
@@ -211,6 +213,8 @@ static Key keys[] = {
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_r, self_restart, {0} },
+
};
/* Button definitions */
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */