Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
7af4d43
)
config.def.h: style improvement, use color Scheme enum
author
Hiltjo Posthuma <hiltjo@codemadness.org>
Tue, 28 Jun 2016 16:04:56 +0000
(18:04 +0200)
committer
Hiltjo Posthuma <hiltjo@codemadness.org>
Tue, 28 Jun 2016 16:04:56 +0000
(18:04 +0200)
config.def.h
diff
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
13ea4b9
..
fd77a07
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-12,10
+12,10
@@
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
-static const char *colors[][3] = {
- /*
fg
bg border */
- { col_gray3, col_gray1, col_gray2}, /* normal */
- { col_gray4, col_cyan, col_cyan }, /* selected */
+static const char *colors[
SchemeLast
][3] = {
+ /*
fg
bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
/* tagging */
};
/* tagging */