added diff file for info always in normal scheme

This commit is contained in:
Alexander Bocken 2020-07-03 21:12:56 +02:00
parent fbe80770f1
commit 18d1cf990d

View File

@ -0,0 +1,14 @@
diff --git a/dwm.c b/dwm.c
index 68ce881..cbe2dbd 100644
--- a/dwm.c
+++ b/dwm.c
@@ -745,7 +745,8 @@ drawbar(Monitor *m)
if ((w = m->ww - tw - x) > bh) {
if (m->sel) {
- drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
+ //Always use Normal scheme for Info section of bar
+ drw_setscheme(drw, scheme[SchemeNorm]);
drw_text(drw, x, 0, w - 2 * sp, bh, lrpad / 2, m->sel->name, 0);
if (m->sel->isfloating)
drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);