changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu
authorarg@mmvi
Tue, 26 Sep 2006 13:24:14 +0200
changeset 493 d0104ede6454
parent 492 5df494262dfd
child 494 36f9bb3da949
changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu
config.arg.h
config.default.h
--- a/config.arg.h	Tue Sep 26 08:17:35 2006 +0200
+++ b/config.arg.h	Tue Sep 26 13:24:14 2006 +0200
@@ -11,15 +11,15 @@
 #define TILESYMBOL		"[]="
 
 #define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
+#define NORMBGCOLOR		"#333333"
+#define NORMFGCOLOR		"#dddddd"
 #define SELBGCOLOR		"#333366"
 #define SELFGCOLOR		"#eeeeee"
-#define NORMBGCOLOR		"#333333"
-#define NORMFGCOLOR		"#dddddd"
 #define STATUSBGCOLOR		"#222222"
 #define STATUSFGCOLOR		"#9999cc"
 
+#define MASTERW			60 /* percent */
 #define MODKEY			Mod1Mask
-#define MASTERW			60 /* percent */
 
 #define KEYS \
 static Key key[] = { \
@@ -29,7 +29,8 @@
 	{ MODKEY,			XK_p,		spawn, \
 		{ .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
 			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
-			 "done | sort -u | dmenu)\" && exec $exe" } }, \
+			 "done | sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"'" \
+			 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
 	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
 	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
 	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
--- a/config.default.h	Tue Sep 26 08:17:35 2006 +0200
+++ b/config.default.h	Tue Sep 26 13:24:14 2006 +0200
@@ -11,15 +11,15 @@
 #define TILESYMBOL		"[]="
 
 #define FONT			"fixed"
+#define NORMBGCOLOR		"#333366"
+#define NORMFGCOLOR		"#cccccc"
 #define SELBGCOLOR		"#666699"
 #define SELFGCOLOR		"#eeeeee"
-#define NORMBGCOLOR		"#333366"
-#define NORMFGCOLOR		"#cccccc"
 #define STATUSBGCOLOR		"#dddddd"
 #define STATUSFGCOLOR		"#222222"
 
+#define MASTERW			60 /* percent */
 #define MODKEY			Mod1Mask
-#define MASTERW			60 /* percent */
 
 #define KEYS \
 static Key key[] = { \