projects
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70c23cf
)
changes monocle layout symbol override
author
Daniel <thefekete@gmail.com>
Sun, 30 Dec 2018 14:28:54 +0000
(15:28 +0100)
committer
Daniel <thefekete@gmail.com>
Sun, 30 Dec 2018 14:28:54 +0000
(15:28 +0100)
dwm.c
patch
|
blob
|
history
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);
}