Simplify X resource retrieval

Also makes the color names in config.def.h constant again.
This commit is contained in:
Bert Münnich
2019-01-23 20:13:25 +01:00
parent f7fc6637f3
commit 9d244da512
2 changed files with 22 additions and 23 deletions

View File

@@ -14,11 +14,11 @@ static const char * const BAR_FONT = "monospace:size=8";
/* colors:
* (see X(7) section "COLOR NAMES" for valid values)
*/
static char const * WIN_BG_COLOR = "#555555";
static char const * WIN_FS_COLOR = "#000000";
static char const * SEL_COLOR = "#EEEEEE";
static char const * BAR_BG_COLOR = "#222222";
static char const * BAR_FG_COLOR = "#EEEEEE";
static const char * const WIN_BG_COLOR = "#555555";
static const char * const WIN_FS_COLOR = "#000000";
static const char * const SEL_COLOR = "#EEEEEE";
static const char * const BAR_BG_COLOR = "#222222";
static const char * const BAR_FG_COLOR = "#EEEEEE";
#endif
#ifdef _IMAGE_CONFIG