XKB option to disable CAPS lock

This commit is contained in:
Mahesh Asolkar 2024-03-31 11:45:14 -07:00
parent 2923b2be91
commit 937623515a

View File

@ -50,11 +50,12 @@ static const MonitorRule monrules[] = {
/* keyboard */ /* keyboard */
static const struct xkb_rule_names xkb_rules = { static const struct xkb_rule_names xkb_rules = {
/* can specify fields: rules, model, layout, variant, options */ /* can specify fields: rules, model, layout, variant, options
* Base rules in /usr/share/X11/xkb/rules/base.lst */
/* example: /* example:
.options = "ctrl:nocaps", .options = "ctrl:nocaps",
*/ */
.options = NULL, .options = "caps:none",
}; };
static const int repeat_rate = 25; static const int repeat_rate = 25;