Introduction
Introduction Statistics Contact Development Disclaimer Help
config.def.h: style improvement, use color Scheme enum - dmenu - dynamic menu
git clone git://git.suckless.org/dmenu
Log
Files
Refs
README
LICENSE
---
commit 3c91eed0fb74657c3fa25bc4fd65cd0aa88464c0
parent 76eb5783046cf89ba6b7e9f8cdab35fe86d07a82
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 28 Jun 2016 17:56:25 +0200
config.def.h: style improvement, use color Scheme enum
Diffstat:
M config.def.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git 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 …
-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;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.