window follow icon & layout icon color schemes
This commit is contained in:
parent
4594e13a77
commit
667beb1ae3
@ -26,12 +26,16 @@ static const char *colors[][3] = {
|
|||||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
||||||
[SchemeHid] = { col_cyan, col_gray1, col_cyan },
|
[SchemeHid] = { col_cyan, col_gray1, col_cyan },
|
||||||
|
[SchemeLay] = { col_cyan, "#00ff00", col_cyan },
|
||||||
|
[SchemeWf] = { col_cyan, "#00ffff", col_cyan },
|
||||||
};
|
};
|
||||||
static const unsigned int alphas[][3] = {
|
static const unsigned int alphas[][3] = {
|
||||||
/* fg bg border*/
|
/* fg bg border*/
|
||||||
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
|
[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
|
||||||
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
|
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
|
||||||
[SchemeHid] = { OPAQUE, baralpha, borderalpha },
|
[SchemeHid] = { OPAQUE, baralpha, borderalpha },
|
||||||
|
[SchemeLay] = { OPAQUE, baralpha, borderalpha },
|
||||||
|
[SchemeWf] = { OPAQUE, baralpha, borderalpha },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *const autostart[] = {
|
static const char *const autostart[] = {
|
||||||
|
5
dwm.c
5
dwm.c
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
/* enums */
|
/* enums */
|
||||||
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
|
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
|
||||||
enum { SchemeNorm, SchemeSel, SchemeHid }; /* color schemes */
|
enum { SchemeNorm, SchemeSel, SchemeHid, SchemeLay, SchemeWf }; /* color schemes */
|
||||||
enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
|
enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
|
||||||
NetWMFullscreen, NetActiveWindow, NetWMWindowType,
|
NetWMFullscreen, NetActiveWindow, NetWMWindowType,
|
||||||
NetWMWindowTypeDialog, NetClientList, NetClientInfo, NetLast }; /* EWMH atoms */
|
NetWMWindowTypeDialog, NetClientList, NetClientInfo, NetLast }; /* EWMH atoms */
|
||||||
@ -980,10 +980,11 @@ drawbar(Monitor *m)
|
|||||||
x += w;
|
x += w;
|
||||||
}
|
}
|
||||||
w = TEXTW(m->ltsymbol);
|
w = TEXTW(m->ltsymbol);
|
||||||
drw_setscheme(drw, scheme[SchemeSel]);
|
drw_setscheme(drw, scheme[SchemeLay]);
|
||||||
x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
|
x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
|
||||||
|
|
||||||
w = TEXTW(wfsymbol);
|
w = TEXTW(wfsymbol);
|
||||||
|
drw_setscheme(drw, scheme[SchemeWf]);
|
||||||
x = drw_text(drw, x, 0, w, bh, lrpad / 2, wfsymbol, 0);
|
x = drw_text(drw, x, 0, w, bh, lrpad / 2, wfsymbol, 0);
|
||||||
|
|
||||||
if ((w = m->ww - tw - x) > bh) {
|
if ((w = m->ww - tw - x) > bh) {
|
||||||
|
Loading…
Reference in New Issue
Block a user