applied xkb-rules-switcher patch
This commit is contained in:
parent
30e30880d9
commit
93642f22d0
4 changed files with 42 additions and 15 deletions
17
config.def.h
17
config.def.h
|
@ -80,12 +80,16 @@ static const MonitorRule monrules[] = {
|
|||
};
|
||||
|
||||
/* keyboard */
|
||||
static const struct xkb_rule_names xkb_rules = {
|
||||
/* can specify fields: rules, model, layout, variant, options */
|
||||
/* example:
|
||||
.options = "ctrl:nocaps",
|
||||
*/
|
||||
.options = NULL,
|
||||
static const struct xkb_rule_names xkb_rules[] = {
|
||||
{
|
||||
/* can specify fields: rules, model, layout, variant, options */
|
||||
.layout = "us",
|
||||
.options = NULL,
|
||||
},
|
||||
{
|
||||
.layout = "us",
|
||||
.options = "compose:ralt",
|
||||
},
|
||||
};
|
||||
|
||||
static const int repeat_rate = 25;
|
||||
|
@ -193,6 +197,7 @@ 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} },
|
||||
{ MODKEY, XKB_KEY_w, switchxkbrule, {0} },
|
||||
TAGKEYS( XKB_KEY_1, XKB_KEY_exclam, 0),
|
||||
TAGKEYS( XKB_KEY_2, XKB_KEY_at, 1),
|
||||
TAGKEYS( XKB_KEY_3, XKB_KEY_numbersign, 2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue