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 c920bda..24fefc5 100644 (file)
 
 ! model                =       symbols
   thinkpad     =       +inet(evdev)+madduck(thinkpad_switch)
-  *            =       +inet(evdev)+madduck(default_switch)
+  *            =       +inet(evdev)
 
 ! model                layout          =       compat
   pc98         nec_vndr/jp     =       pc98(basic)
   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)
 
index b18628f..174a1c3 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
-xkb_symbols "default_switch" {
+xkb_symbols "mode_switch" {
   include "group(win_switch)"
   replace key <MENU> {
     [ Super_L, Super_R ]
index 1569982..0e50c36 100644 (file)
@@ -1,7 +1,7 @@
 # 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