[wiki] [sites] wiki updated
changeset: 727:b814f6b4d133
tag: tip
user: Thuban <thuban_AT_singularity.fr>
date: Fri Apr 22 16:00:37 2011 +0200
files: dwm.suckless.org/patches/dwm-5.8.2-frkey.diff dwm.suckless.org/patches/frenchkey.md
description:
patch to use dwm with french keyboards
diff -r 86af3f458350 -r b814f6b4d133 dwm.suckless.org/patches/dwm-5.8.2-frkey.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-5.8.2-frkey.diff Fri Apr 22 16:00:37 2011 +0200
_AT_@ -0,0 +1,44 @@
+diff -up dwm-5.8.2//config.def.h dwm-5.8.2-fr//config.def.h
+--- dwm-5.8.2//config.def.h 2010-06-04 12:39:15.000000000 +0200
++++ dwm-5.8.2-fr//config.def.h 2011-04-21 08:49:36.000000000 +0200
+_AT_@ -65,21 +65,21 @@ static Key keys[] = {
+ { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ { MODKEY, XK_space, setlayout, {0} },
+ { 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_comma, focusmon, {.i = -1 } },
+- { MODKEY, XK_period, focusmon, {.i = +1 } },
++ { MODKEY, XK_semicolon, focusmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+- { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+- TAGKEYS( XK_1, 0)
+- TAGKEYS( XK_2, 1)
+- TAGKEYS( XK_3, 2)
+- TAGKEYS( XK_4, 3)
+- TAGKEYS( XK_5, 4)
+- TAGKEYS( XK_6, 5)
+- TAGKEYS( XK_7, 6)
+- 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)
+ { MODKEY|ShiftMask, XK_q, quit, {0} },
+ };
+
+_AT_@ -99,4 +99,3 @@ static Button buttons[] = {
+ { ClkTagBar, MODKEY, Button1, tag, {0} },
+ { ClkTagBar, MODKEY, Button3, toggletag, {0} },
+ };
+-
+Seulement dans dwm-5.8.2/: config.def.h.rej
diff -r 86af3f458350 -r b814f6b4d133 dwm.suckless.org/patches/frenchkey.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/frenchkey.md Fri Apr 22 16:00:37 2011 +0200
_AT_@ -0,0 +1,19 @@
+# frenchkey
+
+## Description
+
+### En français
+Ce patch a pour but de remplacer les raccourcis par défaut de dwm, qui ne sont pas compatibles avec les claviers français (azerty).
+En somme, les chiffres 1 2 3 ... 9 0 sont remplacés pas le code des touches & é ... ç à.
+La touche querty / est quand à elle remplacée par : .
+Ainsi, toutes les fonctions de dwm restent accessibles malgré tout.
+
+Le patch est en fait une simple modification du config.h
+
+### English
+This patch is a config.h modification to use tagging shortcuts with french (azerty) keyboards, which have different layout for numbers and / .
+
+## Download
+
+ * [dwm-5.8.2-frkey.diff](dwm-5.8.2-frkey.diff) dwm-5.8.2-frkey.diff (22.04.2011)
+
Received on Fri Apr 22 2011 - 16:00:40 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:31:44 CEST