[wiki] [sites] Use key codes easier to read || Thuban
changeset: 934:3baea4584dd6
tag: tip
user: Thuban <thuban_AT_singularity.fr>
date: Fri May 25 15:06:00 2012 +0200
files: dwm.suckless.org/patches/dwm-azertykey.diff
description:
Use key codes easier to read
diff -r f4882401afed -r 3baea4584dd6 dwm.suckless.org/patches/dwm-azertykey.diff
--- a/dwm.suckless.org/patches/dwm-azertykey.diff Wed May 16 22:42:13 2012 -0400
+++ b/dwm.suckless.org/patches/dwm-azertykey.diff Fri May 25 15:06:00 2012 +0200
_AT_@ -7,8 +7,8 @@
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
- { MODKEY, XK_0, view, {.ui = ~0 } },
- { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
-+ { MODKEY, 0xe0, view, {.ui = ~0 } },
-+ { MODKEY|ShiftMask, 0xe0, tag, {.ui = ~0 } },
++ { MODKEY, XK_agrave, view, {.ui = ~0 } },
++ { MODKEY|ShiftMask, XK_agrave, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
- { MODKEY, XK_period, focusmon, {.i = +1 } },
+ { MODKEY, XK_semicolon, focusmon, {.i = +1 } },
_AT_@ -24,15 +24,15 @@
- TAGKEYS( XK_8, 7)
- TAGKEYS( XK_9, 8)
+ { MODKEY|ShiftMask, XK_semicolon, tagmon, {.i = +1 } },
-+ TAGKEYS( 0x26, 0)
-+ TAGKEYS( 0xe9, 1)
-+ TAGKEYS( 0x22, 2)
-+ TAGKEYS( 0x27, 3)
-+ TAGKEYS( 0x28, 4)
-+ TAGKEYS( 0x2d, 5)
-+ TAGKEYS( 0xe8, 6)
-+ TAGKEYS( 0x5f, 7)
-+ TAGKEYS( 0xe7, 8)
++ TAGKEYS( XK_ampersand, 0)
++ TAGKEYS( XK_eacute, 1)
++ TAGKEYS( XK_quotedbl, 2)
++ TAGKEYS( XK_apostrophe, 3)
++ TAGKEYS( XK_parenleft, 4)
++ TAGKEYS( XK_minus, 5)
++ TAGKEYS( XK_egrave, 6)
++ TAGKEYS( XK_underscore, 7)
++ TAGKEYS( XK_ccedilla, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
Received on Fri May 25 2012 - 15:06:18 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:32:25 CEST