added diff file for info always in normal scheme
This commit is contained in:
parent
fbe80770f1
commit
18d1cf990d
14
patches/dwm-infoalwaysnormal-6.2.diff
Normal file
14
patches/dwm-infoalwaysnormal-6.2.diff
Normal 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);
|
Loading…
Reference in New Issue
Block a user