1
0
mirror of https://github.com/tiyn/dwm.git synced 2025-04-19 07:47:46 +02:00

basic icon

This commit is contained in:
TiynGER 2020-05-30 18:10:54 +02:00
parent 1e28cca03d
commit 9addd105de

2
dwm.c
View File

@ -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);
}