diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-01 04:38:29 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-02-01 04:38:29 -0500 |
commit | e915e3178ba8f51663140b40721cb2cd28a668a9 (patch) | |
tree | 17b8561864272da4d517b5f993574691484e4c4b | |
parent | e0d4e227f4c66b862ab1fd120ee1b43368327b31 (diff) |
Reimplement corner tag indicator for clients
-rw-r--r-- | dwm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -817,6 +817,10 @@ 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 (occ & 1 << i) + drw_rect(drw, x + boxs, boxs, boxw, boxw, + m == selmon && selmon->sel && selmon->sel->tags & 1 << i, + urg & 1 << i); x += w; } w = TEXTW(m->ltsymbol); |