From df1aaa4d159066f26ed4ff235fde9f60501c0618 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sat, 11 Apr 2020 19:05:27 -0500 Subject: start factoring Key actions into functions --- config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 4a6fe34..9594864 100644 --- a/config.h +++ b/config.h @@ -5,3 +5,10 @@ static const struct xkb_rule_names xkb_rules = { .variant = NULL, .options = "ctrl:nocaps,altwin:swap_lalt_lwin,terminate:ctrl_alt_bksp", }; + +#define MODKEY WLR_MODIFIER_ALT + +static const Key keys[] = { + { MODKEY, XKB_KEY_Escape, quit, {0} }, + { MODKEY, XKB_KEY_F1, focusnext, {0} }, +}; -- cgit v1.2.3