diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-04-11 19:05:27 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-04-11 19:41:14 -0500 |
commit | df1aaa4d159066f26ed4ff235fde9f60501c0618 (patch) | |
tree | 6e8c32dc4cbcb45f205e1f9eeb3c9f6dc9632059 /config.h | |
parent | e385acf69deba61e3ffe2905a674dc93dafc44ad (diff) |
start factoring Key actions into functions
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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} }, +}; |