about summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-14 10:55:13 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-14 10:55:13 +0100
commitd2305e4b136b3bdfccf7de897a9f14583a1ca35a (patch)
tree17750c9adc4530ebb0d1f95d0b5f5f7180e64c25 /config.h
parentusing xidx (diff)
downloaddmenu-d2305e4b136b3bdfccf7de897a9f14583a1ca35a.tar.gz
dmenu-d2305e4b136b3bdfccf7de897a9f14583a1ca35a.tar.bz2
dmenu-d2305e4b136b3bdfccf7de897a9f14583a1ca35a.zip
reusing config.h's color values, note we have to use const char *, instead of const char [] here, because the pointer might change
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.h b/config.h
index 43d3a53..5af4304 100644
--- 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