always draw info bar in normal scheme

This commit is contained in:
Alexander Bocken 2020-07-03 21:10:09 +02:00
parent de7f4077bd
commit fbe80770f1

3
dwm.c
View File

@ -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);