diff options
| author | bakkeby <[email protected]> | 2020-08-22 16:25:56 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-22 16:25:56 +0200 |
| commit | 32819a48f3efb57c010d3d27c6b2a537916793b2 (patch) | |
| tree | 5d3b1d5436ea37504f62f9f3b56cbe16a69711a3 /patch/bar_fancybar.c | |
| parent | 512a656ddddc588b2d406f344cfc160c9c2c81b5 (diff) | |
| download | dwm-flexipatch-32819a48f3efb57c010d3d27c6b2a537916793b2.tar.gz dwm-flexipatch-32819a48f3efb57c010d3d27c6b2a537916793b2.zip | |
Added clientindicators patch and unified and simplified indicator code. Enabled centeredwindowname option for awesomebar and bartabgroups patches.
Diffstat (limited to 'patch/bar_fancybar.c')
| -rw-r--r-- | patch/bar_fancybar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/patch/bar_fancybar.c b/patch/bar_fancybar.c index 0ddf7ed..1e10ace 100644 --- a/patch/bar_fancybar.c +++ b/patch/bar_fancybar.c @@ -12,8 +12,6 @@ draw_fancybar(Bar *bar, BarDrawArg *a) Client *c; Monitor *m = bar->mon; - int boxs = drw->fonts->h / 9; - int boxw = drw->fonts->h / 6 + 2; #if BAR_TITLE_LEFT_PAD && BAR_TITLE_RIGHT_PAD int x = a->x + lrpad / 2, w = a->w - lrpad; #elif BAR_TITLE_LEFT_PAD @@ -60,7 +58,7 @@ draw_fancybar(Bar *bar, BarDrawArg *a) drw_text(drw, x, 0, ftw, bh, lrpad / 2, c->name, 0); #endif // BAR_PANGO_PATCH if (c->isfloating) - drw_rect(drw, x + boxs, boxs, boxw, boxw, c->isfixed, 0); + drawindicator(c->mon, c, 1, x, w, 0, 0, c->isfixed, floatindicatortype); x += ftw; w -= ftw; } |
