aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-04-11 19:05:27 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-04-11 19:41:14 -0500
commitdf1aaa4d159066f26ed4ff235fde9f60501c0618 (patch)
tree6e8c32dc4cbcb45f205e1f9eeb3c9f6dc9632059 /config.h
parente385acf69deba61e3ffe2905a674dc93dafc44ad (diff)
start factoring Key actions into functions
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
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} },
+};