diff options
author | Malfurious <m@lfurio.us> | 2023-03-31 03:31:28 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-03-05 20:18:45 -0500 |
commit | b0d8ac58608c16a6765c32110bdc871b485ee223 (patch) | |
tree | 3ed93e8403cd635555409ea264a8917b6f9f5aa3 | |
parent | 87a6d6e840bcdcbfd7ab19a26c3d739ee0cc5cad (diff) | |
download | dwm-b0d8ac58608c16a6765c32110bdc871b485ee223.tar.gz dwm-b0d8ac58608c16a6765c32110bdc871b485ee223.zip |
config: Map 0 to a tenth tag
-rw-r--r-- | config.def.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 8b07f3c..59701de 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): @@ -76,8 +76,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 } }, @@ -91,6 +89,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} }, }; |