commit 8af5dd28ac62b5f824e7ce8667daccda3b622a23
parent ef6c7852a2625194d54787c16548997cef07e63e
Author: hhvn <hayden@haydenvh.com>
Date: Thu, 26 Nov 2020 17:07:51 +0000
config.h: remove col_* variables, use hex strings directly
Diffstat:
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/config.h b/config.h
@@ -7,20 +7,13 @@ static const unsigned int snap = 1; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=8" };
-static const char col_gray1[] = "#0a0a10";
-static const char col_purple[] = "#24283c";
-static const char col_gray3[] = "#bbbbbb";
-static const char col_gray4[] = "#eeeeee";
-static const char col_cyan[] = "#30404e";
-static const char col_stat[] = "#0a2126";
-static const char col_red[] = "#892b2b";
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray1 },
- [SchemeSel] = { col_gray4, col_cyan, col_red },
- [SchemeStat] = { col_gray4, col_stat, col_stat },
- [SchemeNormWin] = { col_gray3, col_purple, col_gray1 },
- [SchemeUrgent] = { col_red, col_gray1, col_gray1 },
+ [SchemeNorm] = { "#bbbbbb", "#0a0a10", "#0a0a10" },
+ [SchemeSel] = { "#eeeeee", "#30404e", "#892b2b" },
+ [SchemeStat] = { "#eeeeee", "#0a2126", "#0a2126" },
+ [SchemeNormWin] = { "#bbbbbb", "#24284c", "#0a0a10" },
+ [SchemeUrgent] = { "#892b2b", "#0a0a10", "#0a0a10" },
};
/* tagging */