start factoring Key actions into functions
This commit is contained in:
7
config.h
7
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} },
|
||||
};
|
||||
|
Reference in New Issue
Block a user