changes monocle layout symbol override
authorDaniel <thefekete@gmail.com>
Sun, 30 Dec 2018 14:28:54 +0000 (15:28 +0100)
committerDaniel <thefekete@gmail.com>
Sun, 30 Dec 2018 14:28:54 +0000 (15:28 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index 2913eab..04e34ce 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1260,7 +1260,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, "%s/%d", layouts[2].symbol, 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);
 }