add more tags + fix little problem

This commit is contained in:
bitheaven 2023-11-10 18:17:24 +05:00
parent 69d8d79ed7
commit db6c7b688e
4 changed files with 9 additions and 10 deletions

View File

@ -34,7 +34,7 @@ static char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "", "", "", "", "", "", "", "", "", "?" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "", "0", "-", "=" };
static const Rule rules[] = {
/* xprop(1):
@ -65,7 +65,7 @@ static const Rule rules[] = {
{ "firefox", NULL, NULL, 1 << 8, 0, -1 },
// ----- OTHER -----
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
{ NULL, NULL, "broken", 1 << 9, 0, -1 },
// { NULL, NULL, "broken", 1 << 9, 0, -1 },
};
/* layout(s) */
@ -149,8 +149,6 @@ static const Key keys[] = {
{ SUPERKEY, XK_period, focusmon, {.i = +1 } },
{ SUPERKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ SUPERKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ SUPERKEY, XK_minus, setgaps, {.i = -1 } },
{ SUPERKEY, XK_equal, setgaps, {.i = +1 } },
{ SUPERKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
{ SUPERKEY|ShiftMask, XK_t, togglealwaysontop, {0} },
{ SUPERKEY|ShiftMask, XK_f, togglefullscr, {0} },
@ -165,6 +163,8 @@ static const Key keys[] = {
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
TAGKEYS( XK_0, 9)
TAGKEYS( XK_minus, 10)
TAGKEYS( XK_equal, 11)
{ SUPERKEY|ShiftMask, XK_q, quitprompt, {0} },
};

View File

@ -34,7 +34,7 @@ static char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "", "", "", "", "", "", "", "", "", "?" };
static const char *tags[] = { "", "", "", "", "", "", "", "", "", "?", "-", "=" };
static const Rule rules[] = {
/* xprop(1):
@ -65,7 +65,7 @@ static const Rule rules[] = {
{ "firefox", NULL, NULL, 1 << 8, 0, -1 },
// ----- OTHER -----
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
{ NULL, NULL, "broken", 1 << 9, 0, -1 },
// { NULL, NULL, "broken", 1 << 9, 0, -1 },
};
/* layout(s) */
@ -145,14 +145,10 @@ static const Key keys[] = {
{ SUPERKEY, XK_g, setlayout, {.v = &layouts[0]} },
/* { SUPERKEY, XK_space, setlayout, {0} }, */
{ SUPERKEY|ShiftMask, XK_space, togglefloating, {0} },
{ SUPERKEY, XK_0, view, {.ui = ~0 } },
{ SUPERKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ SUPERKEY, XK_comma, focusmon, {.i = -1 } },
{ SUPERKEY, XK_period, focusmon, {.i = +1 } },
{ SUPERKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ SUPERKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ SUPERKEY, XK_minus, setgaps, {.i = -1 } },
{ SUPERKEY, XK_equal, setgaps, {.i = +1 } },
{ SUPERKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
{ SUPERKEY|ShiftMask, XK_t, togglealwaysontop, {0} },
{ SUPERKEY|ShiftMask, XK_f, togglefullscr, {0} },
@ -166,6 +162,9 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
TAGKEYS( XK_0, 9)
TAGKEYS( XK_minus, 10)
TAGKEYS( XK_equal, 11)
{ SUPERKEY|ShiftMask, XK_q, quitprompt, {0} },
};

BIN
dwm

Binary file not shown.

BIN
dwm.o

Binary file not shown.