summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-07-28 18:25:48 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-07-28 18:25:48 -0400
commit9df893f78e716a134d2e0aaf57f8caa41aa83f25 (patch)
tree08d82a87bec3bd4ff48b13d71f32f55f1b73a76f /config.h
parent4375fe96d62bab0324ca8190a3ef3a15f35eeb0c (diff)
revert togglekblayoutandoptions
Diffstat (limited to 'config.h')
-rw-r--r--config.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/config.h b/config.h
index 69f28a7..e18b402 100644
--- a/config.h
+++ b/config.h
@@ -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),