mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-31 22:25:28 -04:00
start factoring Key actions into functions
This commit is contained in:
parent
e385acf69d
commit
df1aaa4d15
2 changed files with 50 additions and 21 deletions
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} },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue