summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2024-04-07 19:44:54 +0200
committerGravatar piotrruss <mail@pruss.it> 2024-04-07 19:44:54 +0200
commit4906ed5738eb70ff9c8d3afdb485d58dca52387f (patch)
tree98f8435e6e8995f231234e0ec38c15a1d6c75cbe /dwm.c
parentaa1cab1eefbfc92e934a68f34fbba69e0265a6c1 (diff)
downloaddwm-4906ed5738eb70ff9c8d3afdb485d58dca52387f.tar.gz
dwm-4906ed5738eb70ff9c8d3afdb485d58dca52387f.tar.bz2
dwm-4906ed5738eb70ff9c8d3afdb485d58dca52387f.zip
underline tags patch applied
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 4acfec7..119251d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -727,6 +727,8 @@ drawbar(Monitor *m)
w = TEXTW(tags[i]);
drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]);
drw_text(drw, x, 0, w, bh, 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 'drw_text' :) */
+ drw_rect(drw, x + ulinepad, bh - ulinestroke - ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0);
if (occ & 1 << i)
drw_rect(drw, x + boxs, boxs, boxw, boxw,
m == selmon && selmon->sel && selmon->sel->tags & 1 << i,