From 937623515a7ea04814c2c11f2ef9f991c1a77bf1 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Sun, 31 Mar 2024 11:45:14 -0700 Subject: [PATCH] XKB option to disable CAPS lock --- config.mma.def.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.mma.def.h b/config.mma.def.h index d988869..14d9d1e 100644 --- a/config.mma.def.h +++ b/config.mma.def.h @@ -50,11 +50,12 @@ static const MonitorRule monrules[] = { /* keyboard */ 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: .options = "ctrl:nocaps", */ - .options = NULL, + .options = "caps:none", }; static const int repeat_rate = 25;