summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-03-31 03:31:28 -0400
committerMatt Hunter <m@lfurio.us>2026-01-17 23:09:29 -0500
commit5e8fe1f0f05c21634f8e28f72b739808b385d087 (patch)
tree102aefa93a1785df6a33a485535a3317b5db5433
parent591417f16f0c985e91cfcb7b6d7d488447836563 (diff)
downloaddwm-5e8fe1f0f05c21634f8e28f72b739808b385d087.tar.gz
dwm-5e8fe1f0f05c21634f8e28f72b739808b385d087.zip
config: Map 0 to a tenth tag
-rw-r--r--config.def.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index a414e31..8ee81ea 100644
--- a/config.def.h
+++ b/config.def.h
@@ -19,7 +19,7 @@ static const char *colors[][3] = {
};
/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0" };
static const Rule rules[] = {
/* xprop(1):
@@ -77,8 +77,6 @@ static const Key keys[] = {
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
- { 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 } },
@@ -92,6 +90,7 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
+ TAGKEYS( XK_0, 9)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};