summaryrefslogtreecommitdiffhomepage
path: root/config.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-29 15:24:44 +0200
committerbakkeby <[email protected]>2020-09-29 15:24:44 +0200
commit37c212ad55ef0b793b55a144be3e7b3b83c56f2f (patch)
treed7c330cd0149d178ae49fcb79e1fe5c5e829c65a /config.def.h
parentfbacf17346b8933b691cb2b4ca522860cd6dfa4d (diff)
downloaddwm-flexipatch-37c212ad55ef0b793b55a144be3e7b3b83c56f2f.tar.gz
dwm-flexipatch-37c212ad55ef0b793b55a144be3e7b3b83c56f2f.zip
Adding on_empty_keys patch ref. #51
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index ff93493..517b887 100644
--- a/config.def.h
+++ b/config.def.h
@@ -733,6 +733,14 @@ static const char *statuscmds[] = { "notify-send Mouse$BUTTON" };
static char *statuscmd[] = { "/bin/sh", "-c", NULL, NULL };
#endif // BAR_STATUSCMD_PATCH | DWMBLOCKS_PATCH
+#if ON_EMPTY_KEYS_PATCH
+static const char* firefoxcmd[] = {"firefox", NULL};
+static Key on_empty_keys[] = {
+ /* modifier key function argument */
+ { 0, XK_f, spawn, {.v = firefoxcmd } },
+};
+#endif // ON_EMPTY_KEYS_PATCH
+
static Key keys[] = {
/* modifier key function argument */
#if KEYMODES_PATCH