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) | |
| download | dwl-df1aaa4d159066f26ed4ff235fde9f60501c0618.tar.gz dwl-df1aaa4d159066f26ed4ff235fde9f60501c0618.tar.bz2 dwl-df1aaa4d159066f26ed4ff235fde9f60501c0618.zip | |
start factoring Key actions into functions
@@ -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} }, +}; |