about summary refs log tree commit diff
path: root/dmenu.c
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2013-04-17 21:04:05 +0200
committerAnselm R Garbe <anselm@garbe.us>2013-04-17 21:04:05 +0200
commit14f72a276334de4a46543cf648a4922bc54f1e9f (patch)
tree98cc875199829687476b1a05458f811f4805941a /dmenu.c
parentapplied Alex Sedov's Tab buffer termination patch, thanks (diff)
downloaddmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.tar.gz
dmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.tar.bz2
dmenu-14f72a276334de4a46543cf648a4922bc54f1e9f.zip
adopted Alex Sedov's config.h revival patch to tip
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/dmenu.c b/dmenu.c
index c25dc82..a06ae15 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -44,20 +44,10 @@ static char text[BUFSIZ] = "";
 static int bh, mw, mh;
 static int inputw, promptw;
 static size_t cursor = 0;
-static const char *font = NULL;
-static const char *prompt = NULL;
-static const char *normbgcolor = "#222222";
-static const char *normfgcolor = "#bbbbbb";
-static const char *selbgcolor  = "#005577";
-static const char *selfgcolor  = "#eeeeee";
-static const char *outbgcolor  = "#00ffff";
-static const char *outfgcolor  = "#000000";
-static unsigned int lines = 0;
 static unsigned long normcol[ColLast];
 static unsigned long selcol[ColLast];
 static unsigned long outcol[ColLast];
 static Atom clip, utf8;
-static Bool topbar = True;
 static DC *dc;
 static Item *items = NULL;
 static Item *matches, *matchend;
@@ -65,6 +55,8 @@ static Item *prev, *curr, *next, *sel;
 static Window win;
 static XIC xic;
 
+#include "config.h"
+
 static int (*fstrncmp)(const char *, const char *, size_t) = strncmp;
 static char *(*fstrstr)(const char *, const char *) = strstr;