X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/085bf505447f79db478e369229bceacdbd317a85..e577e48fa79805f2637aabe250bd8bf4548b9308:/.xkb/symbols/madduck diff --git a/.xkb/symbols/madduck b/.xkb/symbols/madduck index 174a1c3..e6facf3 100644 --- a/.xkb/symbols/madduck +++ b/.xkb/symbols/madduck @@ -1,30 +1,25 @@ // mode_switch: set up windows keys for mode switching and the menu keys -// to generate mod3 +// to generate mod3. since I have some machines without those fancy keys, I +// also configure the right CTRL and ALT keys to do the same. partial modifier_keys xkb_symbols "mode_switch" { include "group(win_switch)" + include "group(switch)" replace key { - [ Super_L, Super_R ] + [ VoidSymbol, VoidSymbol ] }; - modifier_map Mod3 { }; -}; - -// thinkpad_switch: on thinkpads, use the right control and alt keys as -// substitute for the missing menu and windows keys -partial modifier_keys -xkb_symbols "thinkpad_switch" { - include "group(switch)" replace key { - [ Super_L, Super_R ] + [ VoidSymbol, VoidSymbol ] }; modifier_map Mod3 { }; + modifier_map Mod3 { }; }; // caps_mod4: make capslock generate the mod4 modifier partial modifier_keys xkb_symbols "caps_mod4" { replace key { - [ Hyper_L, Hyper_R ] + [ VoidSymbol, VoidSymbol ] }; modifier_map Mod4 { }; };