Xinqi Bao's Git
projects
/
dmenu.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
76eb578
)
config.def.h: style improvement, use color Scheme enum
author
Hiltjo Posthuma <
[email protected]
>
Tue, 28 Jun 2016 15:56:25 +0000
(17:56 +0200)
committer
Hiltjo Posthuma <
[email protected]
>
Tue, 28 Jun 2016 15:56:25 +0000
(17:56 +0200)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
5ac2af8
..
1edb647
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-7,11
+7,11
@@
static const char *fonts[] = {
"monospace:size=10"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
"monospace:size=10"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
-static const char *colors[][2] = {
-/* fg bg */
- { "#bbbbbb", "#222222" }, /* normal */
- { "#eeeeee", "#005577" }, /* selected */
- { "#000000", "#00ffff" }, /* out */
+static const char *colors[
SchemeLast
][2] = {
+
/* fg bg */
+ [SchemeNorm] = { "#bbbbbb", "#222222" },
+ [SchemeSel] = { "#eeeeee", "#005577" },
+ [SchemeOut] = { "#000000", "#00ffff" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;