X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/9fb497738f6dbcdc8e0cbacf194200ab1e3d62b1..d187145e3ddf47974b58740ba2d53cd275abf8bf:/.xkb/symbols/madduck?ds=sidebyside

diff --git a/.xkb/symbols/madduck b/.xkb/symbols/madduck
index ddfef83..3471a8d 100644
--- a/.xkb/symbols/madduck
+++ b/.xkb/symbols/madduck
@@ -1,23 +1,18 @@
-// mode_switch: set up windows keys for mode switching and the menu keys
-// to generate mod3
+// default_switch: set up windows keys for mode switching and the menu keys
+// 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" {
+xkb_symbols "default_switch" {
   include "group(win_switch)"
+  include "group(switch)"
   replace key <MENU> {
     [ VoidSymbol, VoidSymbol ]
   };
-  modifier_map Mod3 { <MENU> };
-};
-
-// 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 <RCTL> {
     [ VoidSymbol, VoidSymbol ]
   };
   modifier_map Mod3 { <RCTL> };
+  modifier_map Mod3 { <MENU> };
 };
 
 // caps_mod4: make capslock generate the mod4 modifier
@@ -35,8 +30,11 @@ xkb_symbols "group2_intl" {
   key <TLDE> {
     symbols[Group2] = [ degree, infinity ]
   };
+  key <AE00> {
+    symbols[Group2] = [ degree, infinity ]
+  };
   key <AE01> {
-    symbols[Group2] = [ onequarter, oneeighth ]
+    symbols[Group2] = [ onesuperior, onequarter ]
   };
   key <AE02> {
     symbols[Group2] = [ twosuperior, onehalf ]
@@ -174,7 +172,7 @@ xkb_symbols "group2_intl" {
     symbols[Group2] = [ mu, heart ]
   };
   key <AB08> {
-    symbols[Group2] = [ notsign, guillemotleft ]
+    symbols[Group2] = [ periodcentered, guillemotleft ]
   };
   key <AB09> {
     symbols[Group2] = [ ellipsis, guillemotright ]