diff --git a/.xkb/symbols/us-nulo b/.xkb/symbols/us-nulo deleted file mode 100644 index 2ea349b..0000000 --- a/.xkb/symbols/us-nulo +++ /dev/null @@ -1,63 +0,0 @@ -// /usr/share/X11/xkb/symbols/us -// Thanks to https://unix.stackexchange.com/questions/591754/make-specific-key-sticky -default partial alphanumeric_keys -xkb_symbols "basic" { - include "us(altgr-intl)" - - name[Group1] = "English (US, nullified)"; - - // Sticky Alt and AltGr - key { - type[Group1]= "ONE_LEVEL", - symbols[Group1]= [ ISO_Level3_Shift ], - actions[Group1]= [ LatchMods(modifiers=AltGr) ] - }; - key { - type[Group1]= "ONE_LEVEL", - symbols[Group1]= [ Alt_L ], - actions[Group1]= [ LatchMods(modifiers=Mod1) ] - }; - - // Shift keys - // Both are sticky, when any of them are pressed twice, they act as Shift Lock. - // TODO: make it lock on Caps Lock instead of Shift (for e.x. typing numbers angrily "YOU OWE ME 10 BUCKS!") - key { - type[Group1] = "ONE_LEVEL", - symbols[Group1] = [ Shift_L ], - actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ] - // This doesn't work correctly - //actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ] - }; - key { - type[Group1] = "ONE_LEVEL", - symbols[Group1] = [ Shift_R ], - actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ] - // This doesn't work correctly - //actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ] - - }; - - // Sticky Ctrls - key { - type[Group1]="ONE_LEVEL", - symbols[Group1]=[ Control_L ], - actions[Group1]=[LatchMods(modifiers=Control)] - }; - key { - type[Group1]="ONE_LEVEL", - symbols[Group1]=[ Control_R ], - actions[Group1]=[LatchMods(modifiers=Control)] - }; - - // Sticky Wins - key { - type[Group1]="ONE_LEVEL", - symbols[Group1]=[ Super_L ], - actions[Group1]=[LatchMods(modifiers=Mod4)] - }; - key { - type[Group1]="ONE_LEVEL", - symbols[Group1]=[ Super_R ], - actions[Group1]=[LatchMods(modifiers=Mod4)] - }; -};