From 5e8fe1f0f05c21634f8e28f72b739808b385d087 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 31 Mar 2023 03:31:28 -0400 Subject: config: Map 0 to a tenth tag --- config.def.h | 5 ++--- 1 file 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} }, }; -- cgit v1.2.3