summaryrefslogtreecommitdiffhomepage
path: root/patch/bar_awesomebar.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-08-21 15:49:15 +0200
committerbakkeby <[email protected]>2020-08-21 15:49:15 +0200
commit81488b4862487c6debed8f447db217d2d2c78ecb (patch)
treeef7fb92c9e68b5195dd0939a0db7d3c6d201d06b /patch/bar_awesomebar.c
parent6b9c484b787efaabf574a3f4217023aa87b5b5c4 (diff)
downloaddwm-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_awesomebar.c')
-rw-r--r--patch/bar_awesomebar.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/patch/bar_awesomebar.c b/patch/bar_awesomebar.c
index d8a11e9..613e8d9 100644
--- a/patch/bar_awesomebar.c
+++ b/patch/bar_awesomebar.c
@@ -31,21 +31,11 @@ draw_awesomebar(Bar *bar, BarDrawArg *a)
if (!ISVISIBLE(c))
continue;
if (bar->mon->sel == c)
- #if BAR_VTCOLORS_PATCH
scm = SchemeTitleSel;
- #elif BAR_TITLECOLOR_PATCH
- scm = SchemeTitle;
- #else
- scm = SchemeSel;
- #endif // BAR_VTCOLORS_PATCH / BAR_TITLECOLOR_PATCH
else if (HIDDEN(c))
scm = SchemeHid;
else
- #if BAR_VTCOLORS_PATCH
scm = SchemeTitleNorm;
- #else
- scm = SchemeNorm;
- #endif // BAR_VTCOLORS_PATCH
drw_setscheme(drw, scheme[scm]);
#if BAR_PANGO_PATCH