sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e476b0af133a0d0829b481c4f6452653d94edb36
parent 81fd263156a7f0e0a11d915ad6c06e5fdc99df64
Author: Thuban <thuban@singularity.fr>
Date:   Fri, 22 Apr 2011 16:00:37 +0200

patch to use dwm with french keyboards
Diffstat:
Adwm.suckless.org/patches/dwm-5.8.2-frkey.diff | 44++++++++++++++++++++++++++++++++++++++++++++
Adwm.suckless.org/patches/frenchkey.md | 19+++++++++++++++++++
2 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-5.8.2-frkey.diff b/dwm.suckless.org/patches/dwm-5.8.2-frkey.diff @@ -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 +@@ -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} }, + }; + +@@ -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 --git a/dwm.suckless.org/patches/frenchkey.md b/dwm.suckless.org/patches/frenchkey.md @@ -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) +