dwm

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

commit cf6e2d04c027baa78d5655557489fc8b78eea8b8
parent 8e43e92ea78b4cacead5c476e2f5c76e2198931c
Author: hhvn <hayden@haydenvh.com>
Date:   Sun, 13 Dec 2020 10:54:39 +0000

rename SchemeNormWin to SchemeBarInact (inactive window in bar)

Diffstat:
Mconfig.h | 2+-
Mdwm.c | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.h b/config.h @@ -12,7 +12,7 @@ static const char *colors[][3] = { [SchemeNorm] = { "#bbbbbb", "#0a0a10", "#0a0a10" }, [SchemeSel] = { "#eeeeee", "#30404e", "#892b2b" }, [SchemeStat] = { "#eeeeee", "#0a2126", "#0a2126" }, - [SchemeNormWin] = { "#bbbbbb", "#24284c", "#0a0a10" }, + [SchemeBarInact] = { "#bbbbbb", "#24284c", "#0a0a10" }, [SchemeNormFloat] = { "#bbbbbb", "#0a0a10", "#0a2126" }, [SchemeUrgent] = { "#892b2b", "#0a0a10", "#0a0a10" }, }; diff --git a/dwm.c b/dwm.c @@ -68,7 +68,7 @@ /* enums */ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ -enum { SchemeNorm, SchemeSel, SchemeStat, SchemeNormWin, SchemeUrgent, SchemeNormFloat}; /* color schemes */ +enum { SchemeNorm, SchemeSel, SchemeStat, SchemeBarInact, SchemeUrgent, SchemeNormFloat}; /* color schemes */ enum { NetSupported, NetWMName, NetWMState, NetWMCheck, NetWMFullscreen, NetActiveWindow, NetWMWindowType, NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */ @@ -833,7 +833,7 @@ drawbar(Monitor *m) if (m->sel == c && m == selmon) scm = SchemeSel; else - scm = SchemeNormWin; + scm = SchemeBarInact; drw_setscheme(drw, scheme[scm]); if (remainder >= 0) { @@ -851,7 +851,7 @@ drawbar(Monitor *m) } } else { if (m == selmon) - drw_setscheme(drw, scheme[SchemeNormWin]); + drw_setscheme(drw, scheme[SchemeBarInact]); else drw_setscheme(drw, scheme[SchemeNorm]); drw_rect(drw, x, 0, w, bh, 1, 1);