From 37c212ad55ef0b793b55a144be3e7b3b83c56f2f Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 29 Sep 2020 15:24:44 +0200 Subject: Adding on_empty_keys patch ref. #51 --- config.def.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.def.h') 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 -- cgit v1.2.3