aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h b/config.h
index f0545c1..5a8535e 100644
--- a/config.h
+++ b/config.h
@@ -8,9 +8,13 @@ static const struct xkb_rule_names xkb_rules = {
#define MODKEY WLR_MODIFIER_ALT
+/* commands */
+static const char *termcmd[] = { "kitty", "-o", "linux_display_server=wayland", NULL };
+
static const Key keys[] = {
- { MODKEY, XKB_KEY_Escape, quit, {0} },
- { MODKEY, XKB_KEY_F1, focusnext, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd } },
+ { MODKEY, XKB_KEY_Escape, quit, {0} },
+ { MODKEY, XKB_KEY_F1, focusnext, {0} },
};
static const Button buttons[] = {