aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h11
-rw-r--r--configs/framework.h11
-rw-r--r--dwm.c8
3 files changed, 16 insertions, 14 deletions
diff --git a/config.def.h b/config.def.h
index c80a9d1..3de5a13 100644
--- a/config.def.h
+++ b/config.def.h
@@ -18,11 +18,12 @@ static const char col_yellow[] = "#ffff00";
static const char col_white[] = "#ffffff";
static const char *colors[][3] = {
- /* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
- [SchemeWarn] = { col_black, col_yellow, col_red },
- [SchemeUrgent]= { col_white, col_red, col_red },
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
+ [SchemeWarn] = { col_black, col_yellow, col_red },
+ [SchemeUrgent] = { col_white, col_red, col_red },
+ [SchemeStatusBar] = { col_gray3, col_gray1, col_gray2 },
};
/* Display modes of the tab bar: never shown, always shown, shown only in */
diff --git a/configs/framework.h b/configs/framework.h
index ad8a4b0..2e3392c 100644
--- a/configs/framework.h
+++ b/configs/framework.h
@@ -36,11 +36,12 @@ static const char * const col_alu_light[] = {"#eeeeec", "#d3d7cf", "#babdb6"};
static const char * const col_alu_dark[] = {"#888a85", "#555753", "#2e3436"};
static const char *colors[][3] = {
- /* fg bg border */
- [SchemeNorm] = { col_alu_dark[light], col_alu_dark[dark], col_alu_dark[medium] },
- [SchemeSel] = { col_sky_blue[light], col_alu_dark[dark], col_sky_blue[light] },
- [SchemeWarn] = { col_butter[light], col_alu_dark[dark], col_alu_light[light] },
- [SchemeUrgent]= { col_scarlet[light], col_alu_dark[dark], col_alu_light[light] },
+ /* fg bg border */
+ [SchemeNorm] = { col_alu_dark[light], col_alu_dark[dark], col_alu_dark[medium] },
+ [SchemeSel] = { col_sky_blue[light], col_alu_dark[dark], col_sky_blue[light] },
+ [SchemeWarn] = { col_butter[light], col_alu_dark[dark], col_alu_light[light] },
+ [SchemeUrgent] = { col_scarlet[light], col_alu_dark[dark], col_alu_light[light] },
+ [SchemeStatusBar] = { col_alu_light[medium], col_alu_dark[dark], col_alu_light[light] },
};
/* Display modes of the tab bar: never shown, always shown, shown only in */
diff --git a/dwm.c b/dwm.c
index a75c464..b4bc210 100644
--- a/dwm.c
+++ b/dwm.c
@@ -59,7 +59,7 @@
/* enums */
enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
-enum { SchemeNorm, SchemeSel, SchemeWarn, SchemeUrgent }; /* color schemes */
+enum { SchemeNorm, SchemeSel, SchemeWarn, SchemeUrgent, SchemeStatusBar }; /* color schemes */
enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
NetWMFullscreen, NetActiveWindow, NetWMWindowType,
NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
@@ -821,12 +821,12 @@ drawbar(Monitor *m)
x = 0;
for (i = 0; i < LENGTH(tags); i++) {
w = TEXTW(tags[i]);
- drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]);
- drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i);
+ drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : urg & 1 << i ? SchemeWarn : SchemeNorm]);
+ drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], 0);
if (occ & 1 << i)
drw_rect(drw, x + boxs, boxs, boxw, boxw,
m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
- urg & 1 << i);
+ 0);
x += w;
}
w = TEXTW(m->ltsymbol);