From 398d09f28605f4a25f481ae319ecbd651a46f6f7 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sat, 2 Oct 2021 12:17:54 -0300 Subject: [PATCH] xkb: indent.. --- .xkb/symbols/us-nulo | 58 ++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.xkb/symbols/us-nulo b/.xkb/symbols/us-nulo index a2b9af6..4f97a0a 100644 --- a/.xkb/symbols/us-nulo +++ b/.xkb/symbols/us-nulo @@ -6,55 +6,55 @@ xkb_symbols "basic" { 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]= [ ISO_Level3_Shift ], + actions[Group1]= [ LatchMods(modifiers=AltGr) ] }; - key { - type[Group1] = "ONE_LEVEL", - symbols[Group1] = [ Shift_R ], - actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ] + 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) ] + //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 { + key { type[Group1]="ONE_LEVEL", symbols[Group1]=[ Control_L ], actions[Group1]=[LatchMods(modifiers=Control)] }; - key { + key { type[Group1]="ONE_LEVEL", symbols[Group1]=[ Control_R ], actions[Group1]=[LatchMods(modifiers=Control)] }; // Sticky Wins - key { + key { type[Group1]="ONE_LEVEL", symbols[Group1]=[ Super_L ], actions[Group1]=[LatchMods(modifiers=Mod4)] }; - key { + key { type[Group1]="ONE_LEVEL", symbols[Group1]=[ Super_R ], actions[Group1]=[LatchMods(modifiers=Mod4)]