diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-28 18:25:48 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-28 18:25:48 -0400 |
commit | 9df893f78e716a134d2e0aaf57f8caa41aa83f25 (patch) | |
tree | 08d82a87bec3bd4ff48b13d71f32f55f1b73a76f /config.h | |
parent | 4375fe96d62bab0324ca8190a3ef3a15f35eeb0c (diff) |
revert togglekblayoutandoptions
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 19 |
1 files changed, 6 insertions, 13 deletions
@@ -84,18 +84,12 @@ static const MonitorRule monrules[] = { }; /* keyboard */ -static const struct xkb_rule_names xkb_rules[] = { - { - .layout = "us" - }, - { - .layout = "ca" - }, - /*{ - .layout = "us", - .variant = "dvp", - .options = "compose:102,numpad:shift3,kpdl:semi,keypad:atm,caps:super" - }*/ +static const struct xkb_rule_names xkb_rules = { + /* can specify fields: rules, model, layout, variant, options */ + /* example: + .options = "ctrl:nocaps", + */ + .options = NULL, }; static const int repeat_rate = 50; @@ -205,7 +199,6 @@ static const Key keys[] = { { MODKEY, XKB_KEY_period, focusmon, {.i = WLR_DIRECTION_RIGHT} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_less, tagmon, {.i = WLR_DIRECTION_LEFT} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_greater, tagmon, {.i = WLR_DIRECTION_RIGHT} }, - { WLR_MODIFIER_ALT, XKB_KEY_Return, incxkbrules, {.i = +1} }, TAGKEYS( XKB_KEY_1, XKB_KEY_exclam, 0), TAGKEYS( XKB_KEY_2, XKB_KEY_at, 1), TAGKEYS( XKB_KEY_3, XKB_KEY_numbersign, 2), |