dwm

[fork] dynamic window manager
Log | Files | Refs | README | LICENSE

commit 34f5d916689df3c362b868881c945cbcfe39693b
parent 3fda3dec7bada5dd90f949e9984463933d7e746d
Author: hhvn <hayden@haydenvh.com>
Date:   Mon, 23 Nov 2020 12:40:37 +0000

dwm.c: distinguish between two empty workspaces

Diffstat:
Mdwm.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dwm.c b/dwm.c @@ -847,7 +847,10 @@ drawbar(Monitor *m) x += tabw; } } else { - drw_setscheme(drw, scheme[SchemeNormWin]); + if (m == selmon) + drw_setscheme(drw, scheme[SchemeNormWin]); + else + drw_setscheme(drw, scheme[SchemeNorm]); drw_rect(drw, x, 0, w, bh, 1, 1); } }