2020-04-12 00:27:19 +02:00
|
|
|
static const struct xkb_rule_names xkb_rules = {
|
|
|
|
.rules = NULL,
|
|
|
|
.model = NULL,
|
|
|
|
.layout = "dvorak",
|
|
|
|
.variant = NULL,
|
2020-04-12 02:05:02 +02:00
|
|
|
.options = "ctrl:nocaps,altwin:swap_lalt_lwin,terminate:ctrl_alt_bksp",
|
2020-04-12 00:27:19 +02:00
|
|
|
};
|
2020-04-12 02:05:27 +02:00
|
|
|
|
|
|
|
#define MODKEY WLR_MODIFIER_ALT
|
|
|
|
|
|
|
|
static const Key keys[] = {
|
|
|
|
{ MODKEY, XKB_KEY_Escape, quit, {0} },
|
|
|
|
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
|
|
|
|
};
|
2020-04-12 04:29:27 +02:00
|
|
|
|
|
|
|
static const Button buttons[] = {
|
|
|
|
{ MODKEY, BTN_LEFT, movemouse, {0} },
|
|
|
|
{ MODKEY, BTN_RIGHT, resizemouse, {0} },
|
|
|
|
};
|