suckless-patches / dmenu-config.h

# HG changeset patch
# Date 1299665119 -3600
# User Julien Jehannet <julien.jehannet@logilab.fr>
# Parent c596c060aedb2821a6c6c8ab1ce9d057532f0108
dmenu: set color/font configuration

diff --git a/dmenu.c b/dmenu.c
--- a/dmenu.c
+++ b/dmenu.c
@@ -43,14 +43,14 @@ 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 *normbgcolor = "#111111";
+static const char *normfgcolor = "#888888";
+static const char *selbgcolor  = "#333333";
+static const char *selfgcolor  = "#ffff00";
 static unsigned int lines = 0;
 static unsigned long normcol[ColLast];
 static unsigned long selcol[ColLast];
 static Atom clip, utf8;
 static Bool topbar = True;
diff --git a/draw.c b/draw.c
--- a/draw.c
+++ b/draw.c
@@ -7,11 +7,11 @@
 #include <X11/Xlib.h>
 #include "draw.h"
 
 #define MAX(a, b)  ((a) > (b) ? (a) : (b))
 #define MIN(a, b)  ((a) < (b) ? (a) : (b))
-#define DEFAULTFN  "fixed"
+#define DEFAULTFN  "-*-terminus-*-r-*-*-12-*-*-*-*-*-*-u"
 
 static Bool loadfont(DC *dc, const char *fontstr);
 
 void
 drawrect(DC *dc, int x, int y, unsigned int w, unsigned int h, Bool fill, unsigned long color) {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.