sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

dwm-azerty-be-20250218-09d5985.diff (1913B)


      1 From 09d598521feeabf2d468cfff08461610d639697f Mon Sep 17 00:00:00 2001
      2 From: seekilm <seekilm92@gmail.com>
      3 Date: Wed, 19 Feb 2025 12:04:45 +0100
      4 Subject: [PATCH] dwm: add support for Belgian keyboard (be-latin1)
      5 
      6 ---
      7  config.def.h | 18 +++++++++---------
      8  1 file changed, 9 insertions(+), 9 deletions(-)
      9 
     10 diff --git a/config.def.h b/config.def.h
     11 index 9efa774..fa0685b 100644
     12 --- a/config.def.h
     13 +++ b/config.def.h
     14 @@ -85,15 +85,15 @@ static const Key keys[] = {
     15  	{ MODKEY,                       XK_period, focusmon,       {.i = +1 } },
     16  	{ MODKEY|ShiftMask,             XK_comma,  tagmon,         {.i = -1 } },
     17  	{ MODKEY|ShiftMask,             XK_period, tagmon,         {.i = +1 } },
     18 -	TAGKEYS(                        XK_1,                      0)
     19 -	TAGKEYS(                        XK_2,                      1)
     20 -	TAGKEYS(                        XK_3,                      2)
     21 -	TAGKEYS(                        XK_4,                      3)
     22 -	TAGKEYS(                        XK_5,                      4)
     23 -	TAGKEYS(                        XK_6,                      5)
     24 -	TAGKEYS(                        XK_7,                      6)
     25 -	TAGKEYS(                        XK_8,                      7)
     26 -	TAGKEYS(                        XK_9,                      8)
     27 +	TAGKEYS(                        XK_ampersand,              0)
     28 +	TAGKEYS(                        XK_eacute,                 1)
     29 +	TAGKEYS(                        XK_quotedbl,               2)
     30 +	TAGKEYS(                        XK_apostrophe,             3)
     31 +	TAGKEYS(                        XK_parenleft,              4)
     32 +	TAGKEYS(                        XK_section,                5)
     33 +	TAGKEYS(                        XK_egrave,                 6)
     34 +	TAGKEYS(                        XK_exclam,		   7)
     35 +	TAGKEYS(                        XK_ccedilla,               8)
     36  	{ MODKEY|ShiftMask,             XK_q,      quit,           {0} },
     37  };
     38  
     39 -- 
     40 2.48.1
     41