Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Add activetagindicatorbar patch
Browse files Browse the repository at this point in the history
  • Loading branch information
unclamped committed Nov 15, 2022
1 parent 485c14f commit 487271e
Show file tree
Hide file tree
Showing 2 changed files with 2,153 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 726,10 @@ drawbar(Monitor *m)
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);
drw_rect(drw, x boxw, 0, w - ( 2 * boxw 1), boxw,
m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
urg & 1 << i);

x = w;
}
w = TEXTW(m->ltsymbol);
Expand Down
Loading

0 comments on commit 487271e

Please sign in to comment.