aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/wm/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/wm/config.h')
-rw-r--r--sys/cmd/wm/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cmd/wm/config.h b/sys/cmd/wm/config.h
index 752c6b7..f80638f 100644
--- a/sys/cmd/wm/config.h
+++ b/sys/cmd/wm/config.h
@@ -24,6 +24,7 @@ CONFIG(Rule*, endrule, arrend(cfg·rule));
/* commands */
CONFIG(char*, termcommand[], { "alacritty", nil });
+CONFIG(char*, menucommand[], { "bemenu-run", nil });
/* layouts */
CONFIG(Layout, layouts[], {
@@ -50,6 +51,7 @@ CONFIG(MonitorRule*, endmonitorrule, arrend(cfg·monitorrule));
CONFIG(Key, binding[], {
/* modifier key function argument */
{ MODKEY, KEY(Return), spawn, {.v = cfg·termcommand} },
+ { MODKEY, KEY(D), spawn, {.v = cfg·menucommand} },
{ MODKEY|MOD(SHIFT), KEY(Q), quit, {.v = nil} },
});
CONFIG(Key*, endbinding, arrend(cfg·binding));