From bc9049a11b9bb667e2161d8e237ca01b3d0d98f1 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sun, 12 Apr 2020 00:58:38 -0500 Subject: add spawn and termcmd --- config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config.h') 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[] = { -- cgit v1.2.3