There is delay on linux when you use CAPSLOCK to change between lowercase and uppercase register while TYping FAst, i don’t know why it exists and if you can answer it to me I would be grateful.
Here is a fix for that and it would be next level move if you add it by default in CachyOS:
Go to /usr/share/X11/xkb/symbols/
Open this folder in terminal and write sudo chmod 777 capslock
Then open capslock file with Text Editor and replace
// This changes the <CAPS> key to become a Control modifier,
// but it will still produce the Caps_Lock keysym.
hidden partial modifier_keys
xkb_symbols "ctrl_modifier" {
replace key <CAPS> {
type[Group1] = "ONE_LEVEL",
symbols[Group1] = [ Caps_Lock ],
actions[Group1] = [ SetMods(modifiers=Control) ]
};
modifier_map Control { <CAPS> };
};
with
// This changes the <CAPS> key to become a Control modifier,
// but it will still produce the Caps_Lock keysym.
hidden partial modifier_keys
xkb_symbols "ctrl_modifier" {
key <CAPS> {
type="ALPHABETIC",
repeat=No,
symbols[Group1]= [ Caps_Lock, Caps_Lock ],
actions[Group1]= [ LockMods(modifiers=Lock),
LockMods(modifiers=Shift+Lock,affect=unlock) ]
};
};
Then go back to terminal and write sudo chmod 644 capslock
to return the rights as they were.
Then go to System settings > Keyboard > Key Bindings > Caps Lock Behavior > Make Caps Lock act as an additional Ctrl modifier, but keep identifying as Caps Lock.