summaryrefslogtreecommitdiffstats
path: root/dwl.c
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-02-28 21:32:59 +0100
committerJoe <rbo@gmx.us>2025-02-28 21:32:59 +0100
commit3907db06dd2648cb37b297bde5e97d19f1e99f76 (patch)
treec08db34a8843b89c0cb1916a0538ce37d2b86004 /dwl.c
parentswallowd (diff)
downloaddwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.gz
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.bz2
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.xz
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.zst
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.zip
underlined
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index b4ef42c..7785590 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1599,6 +1599,8 @@ drawbar(Monitor *m)
w = TEXTW(m, tags[i]);
drwl_setscheme(m->drw, colors[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]);
drwl_text(m->drw, x, 0, w, m->b.height, m->lrpad / 2, tags[i], urg & 1 << i);
+ if (ulineall || m->tagset[m->seltags] & 1 << i) /* if there are conflicts, just move these lines directly underneath both 'drw_setscheme' and 'dr w_text' :) */
+ drwl_rect(m->drw, x + ulinepad, m->b.height - ulinestroke - ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0);
if (occ & 1 << i)
drwl_rect(m->drw, x + boxs, boxs, boxw, boxw,
m == selmon && c && c->tags & 1 << i,