diff --git a/config.def.h b/config.def.h index 2bc8121..c710bf3 100644 --- a/config.def.h +++ b/config.def.h @@ -23,6 +23,7 @@ static const char *colors[][3] = { /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const char *alttags[] = { "<1>", "<2>", "<3>", "<4>", "<5>", "<6>", "<7>", "<8>", "<9>" }; static const Rule rules[] = { /* xprop(1): diff --git a/dwm.c b/dwm.c index 4465af1..c2348a5 100644 --- a/dwm.c +++ b/dwm.c @@ -1110,7 +1110,7 @@ monocle(Monitor *m) if (ISVISIBLE(c)) n++; if (n > 0) /* override layout symbol */ - snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); + snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d", n); for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); }