diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-10 01:07:14 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-10 01:07:14 +0200 |
commit | 33e8549ce1227fdef93273797ccb7d6cdb18a208 (patch) | |
tree | 216ff53078aa913749f2f5f321c88bccfd0d6b9a /dwm.c | |
parent | Added alpha option [Patch] (diff) | |
download | dwm-33e8549ce1227fdef93273797ccb7d6cdb18a208.tar.gz dwm-33e8549ce1227fdef93273797ccb7d6cdb18a208.tar.bz2 dwm-33e8549ce1227fdef93273797ccb7d6cdb18a208.zip |
Added activetagindicator [Patch]
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c index 0b7e63b..c94c776 100644 --- a/dwm.c +++ b/dwm.c @@ -706,7 +706,7 @@ drawbar(Monitor *m) { int x, w, sw = 0; int boxs = drw->fonts->h / 9; - int boxw = drw->fonts->h / 6 + 2; + int boxw = drw->fonts->h / 4 - 0; unsigned int i, occ = 0, urg = 0; Client *c; @@ -728,9 +728,9 @@ 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 = blw = TEXTW(m->ltsymbol); |