dwm changes

Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
This commit is contained in:
Frank Villaro-Dixon 2020-04-23 17:34:32 +02:00
parent b6b90044fd
commit ad9f0c50f2

View file

@ -21,24 +21,15 @@ static const unsigned int snap = 8; /* snap pixel */
static const Bool showbar = True; /* False means no bar */
static const Bool topbar = True; /* False means bottom bar */
/* tagging
static const char *tags[] = {
"web",
"mail",
"chat",
"term",
"dev",
"dev1",
"m0",
"m1",
"m2", };
*/
static const char *tags[] = {
"1", "2", "3:CONS", "4:CONS", "5:CONS", "6:IDE", "7", "8", "9",
"q", "w", "e", "r:RSS", "t:MAIL", "z:IM", };
static const char *urgent_cmd = "/home/frank/Programmation/dotfiles/Utils/urgent.sh";
static const char *tags[] = {
"1:FF", "2", "3", "4", "5", "6", "7", "8", "9", // 0-8
"|a", "o", "e", "u", //9-12
//"|h", "t", "n", "s", //13-16
"|z"}; //17
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
@ -110,7 +101,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_f, spawn, {.v = webcmd } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = mailcmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
{ MODKEY, XK_e, spawn, {.v = emojenu} },
{ MODKEY, XK_t, spawn, {.v = emojenu} },
{ MODKEY, XK_m, spawn, {.v = monoff } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, /* change window focus */
@ -152,12 +143,19 @@ static Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
TAGKEYS( XK_q, 9)
TAGKEYS( XK_w, 10)
TAGKEYS( XK_r, 12)
TAGKEYS( XK_t, 13)
TAGKEYS( XK_z, 14)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
TAGKEYS( XK_a, 9)
TAGKEYS( XK_o, 10)
TAGKEYS( XK_e, 11)
TAGKEYS( XK_u, 12)
// TAGKEYS( XK_h, 13)
// TAGKEYS( XK_t, 14)
// TAGKEYS( XK_n, 15)
// TAGKEYS( XK_s, 16)
TAGKEYS( XK_z, 17)
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
/* button definitions */