diff options
| author | bakkeby <[email protected]> | 2020-08-21 15:49:15 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-21 15:49:15 +0200 |
| commit | 81488b4862487c6debed8f447db217d2d2c78ecb (patch) | |
| tree | ef7fb92c9e68b5195dd0939a0db7d3c6d201d06b /patch/bar_fancybar.c | |
| parent | 6b9c484b787efaabf574a3f4217023aa87b5b5c4 (diff) | |
| download | dwm-flexipatch-81488b4862487c6debed8f447db217d2d2c78ecb.tar.gz dwm-flexipatch-81488b4862487c6debed8f447db217d2d2c78ecb.zip | |
Simplification of color configuration; settling on a set of color schemes that is shared between multiple patches (urgentborder, floatborder and titlecolor patches made non-optional)
Diffstat (limited to 'patch/bar_fancybar.c')
| -rw-r--r-- | patch/bar_fancybar.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/patch/bar_fancybar.c b/patch/bar_fancybar.c index 810026d..b32181d 100644 --- a/patch/bar_fancybar.c +++ b/patch/bar_fancybar.c @@ -52,14 +52,7 @@ draw_fancybar(Bar *bar, BarDrawArg *a) if (!ISVISIBLE(c)) continue; ftw = MIN(m->sel == c ? w : mw, TEXTW(c->name)); - - #if BAR_VTCOLORS_PATCH drw_setscheme(drw, scheme[m->sel == c ? SchemeTitleSel : SchemeTitleNorm]); - #elif BAR_TITLECOLOR_PATCH - drw_setscheme(drw, scheme[m->sel == c ? SchemeTitle : SchemeNorm]); - #else - drw_setscheme(drw, scheme[m->sel == c ? SchemeSel : SchemeNorm]); - #endif // BAR_VTCOLORS_PATCH / BAR_TITLECOLOR_PATCH if (ftw > 0) /* trap special handling of 0 in drw_text */ #if BAR_PANGO_PATCH drw_text(drw, x, 0, ftw, bh, lrpad / 2, c->name, 0, False); |
