mirror of
https://github.com/tiyn/dwm.git
synced 2025-10-27 01:01:17 +01:00
changing colors
This commit is contained in:
4
dwm.c
4
dwm.c
@@ -735,7 +735,7 @@ deck(Monitor *m) {
|
|||||||
|
|
||||||
if(n > m->nmaster) {
|
if(n > m->nmaster) {
|
||||||
mw = m->nmaster ? m->ww * m->mfact : 0;
|
mw = m->nmaster ? m->ww * m->mfact : 0;
|
||||||
snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n - m->nmaster);
|
snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d", n - m->nmaster);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
mw = m->ww;
|
mw = m->ww;
|
||||||
@@ -1220,7 +1220,7 @@ monocle(Monitor *m)
|
|||||||
if (ISVISIBLE(c))
|
if (ISVISIBLE(c))
|
||||||
n++;
|
n++;
|
||||||
if (n > 0) /* override layout symbol */
|
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))
|
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);
|
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user