On 28/11/12 16:50:12, major_ghz wrote:
> hello,
>
> when i try to mod1+(1-9) there is no action.
>
> i use bépo and the num need shitf to activate.
>
> how can i switch to another tag ?
> may be need to change mod1 (alt) by another key, peraps win key or
> another. if it's that, how change the def of mod1 ?
>
> else how do for can i switch tag ?
>
> regard,
> major_ghz.
>
Hello,
Glad to see another bépo user here !
I already made a patch for a such keyboard.
It works on FreeBSD, I use it.
You need to find the correct keycode, using `showkey -a` and trying
each.
I switched some other keys, like focusing windows and de|increasing size
of master area from "hjkl" to "ctsr"r ;
Also killclient function from "c" to "x" ;
Switch to floating layout from "f" to "é" (Same place on the keyboards);
And focusing/tagging monitor from [shift+]comma/period to [shift+]q/g.
I hope it will fit your fit your needs.
happy bépo,
--
Simon Lieb
--- dwm-6.0/config.def.h 2011-12-19 16:02:46.000000000 +0100
+++ dwm-6.0-modified/config.def.h 2012-03-20 23:47:40.000000000 +0100
@@ -54,35 +54,35 @@
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
- { MODKEY, XK_j, focusstack, {.i = +1 } },
- { MODKEY, XK_k, focusstack, {.i = -1 } },
+ { MODKEY, XK_t, focusstack, {.i = +1 } },
+ { MODKEY, XK_s, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
- { MODKEY, XK_h, setmfact, {.f = -0.05} },
- { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ { MODKEY, XK_c, setmfact, {.f = -0.05} },
+ { MODKEY, XK_r, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
- { MODKEY|ShiftMask, XK_c, killclient, {0} },
+ { MODKEY|ShiftMask, XK_x, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
- { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY, 0xe8, setlayout, {.v = &layouts[1]} },
{ 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, XK_comma, focusmon, {.i = -1 } },
- { MODKEY, XK_period, 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, 0x2a, view, {.ui = ~0 } },
+ { MODKEY|ShiftMask, 0x2a, tag, {.ui = ~0 } },
+ { MODKEY, XK_q, focusmon, {.i = -1 } },
+ { MODKEY, XK_g, focusmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_q, tagmon, {.i = -1 } },
+ { MODKEY|ShiftMask, XK_g, tagmon, {.i = +1 } },
+ TAGKEYS( 0x22, 0)
+ TAGKEYS( 0xab, 1)
+ TAGKEYS( 0xbb, 2)
+ TAGKEYS( 0x28, 3)
+ TAGKEYS( 0x29, 4)
+ TAGKEYS( 0x40, 5)
+ TAGKEYS( 0x2b, 6)
+ TAGKEYS( 0x2d, 7)
+ TAGKEYS( 0x2f, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};