]> git.madduck.net Git - etc/xsession.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

make thinkpad_switch an option and always set mode_switch
authormartin f. krafft <madduck@madduck.net>
Sat, 18 Apr 2009 12:47:41 +0000 (14:47 +0200)
committermartin f. krafft <madduck@madduck.net>
Sat, 18 Apr 2009 12:47:41 +0000 (14:47 +0200)
.xkb/rules/evdev
.xkb/symbols/madduck
.xsession.d/01-xkb

index c920bdae34ad064838dfccade57d1cd7931e17c0..24fefc5a4205ed0402bb1caa6e5c95b27462cf22 100644 (file)
 
 ! model                =       symbols
   thinkpad     =       +inet(evdev)+madduck(thinkpad_switch)
 
 ! model                =       symbols
   thinkpad     =       +inet(evdev)+madduck(thinkpad_switch)
-  *            =       +inet(evdev)+madduck(default_switch)
+  *            =       +inet(evdev)
 
 ! model                layout          =       compat
   pc98         nec_vndr/jp     =       pc98(basic)
 
 ! model                layout          =       compat
   pc98         nec_vndr/jp     =       pc98(basic)
   shift:breaks_caps     =      +shift(breaks_caps)
   esperanto:qwerty      =      +epo(qwerty)
   esperanto:dvorak      =      +epo(dvorak)
   shift:breaks_caps     =      +shift(breaks_caps)
   esperanto:qwerty      =      +epo(qwerty)
   esperanto:dvorak      =      +epo(dvorak)
+  madduck:mode_switch  =       +madduck(mode_switch)
   madduck:caps_mod4    =       +madduck(caps_mod4)
   madduck:group2_intl  =       +madduck(group2_intl)
 
   madduck:caps_mod4    =       +madduck(caps_mod4)
   madduck:group2_intl  =       +madduck(group2_intl)
 
index b18628f185280e9a3ce97ddf720a2e314dab81eb..174a1c3b4bb6ad1aad4d3f0f73b8c9e09d53e932 100644 (file)
@@ -1,7 +1,7 @@
-// default_switch: set up windows keys for mode switching and the menu keys
+// mode_switch: set up windows keys for mode switching and the menu keys
 // to generate mod3
 partial modifier_keys
 // to generate mod3
 partial modifier_keys
-xkb_symbols "default_switch" {
+xkb_symbols "mode_switch" {
   include "group(win_switch)"
   replace key <MENU> {
     [ Super_L, Super_R ]
   include "group(win_switch)"
   replace key <MENU> {
     [ Super_L, Super_R ]
index 1569982fd7e2892f47f5f5146518c38dac288d85..0e50c36826887ae5980c95d2befeb5391ae51c79 100644 (file)
@@ -1,7 +1,7 @@
 # load the keyboard definitions
 
 LAYOUT=us
 # load the keyboard definitions
 
 LAYOUT=us
-OPTS=(madduck:group2_intl madduck:caps_mod4)
+OPTS=(madduck:mode_switch madduck:group2_intl madduck:caps_mod4)
 
 is_thinkpad() {
   case "${(%):-%m}" in
 
 is_thinkpad() {
   case "${(%):-%m}" in