reusing config.h's color values, note we have to use const char *, instead of const...
[dmenu.git] / config.h
index 43d3a53..5af4304 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,14 +1,14 @@
 /* See LICENSE file for copyright and license details. */
 
 /* appearance */
-#define FONT          "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"
-#define NORMBGCOLOR   "#cccccc"
-#define NORMFGCOLOR   "#000000"
-#define SELBGCOLOR    "#0066ff"
-#define SELFGCOLOR    "#ffffff"
+static const char *font        = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
+static const char *normbgcolor = "#cccccc";
+static const char *normfgcolor = "#000000";
+static const char *selbgcolor  = "#0066ff";
+static const char *selfgcolor  = "#ffffff";
 
-static uint spaceitem = 30; /* px between menu items */
+static uint spaceitem          = 30; /* px between menu items */
 
 #ifdef XINERAMA
-static uint xidx      = 0;        /* Xinerama screen index to use */
+static uint xidx               = 0;  /* Xinerama screen index to use */
 #endif