changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu 97ced11e
arg@mmvi · 2006-09-26 13:24 2 file(s) · +8 −7
config.arg.h +5 −4
11 11
#define TILESYMBOL		"[]="
12 12
13 13
#define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
14 +
#define NORMBGCOLOR		"#333333"
15 +
#define NORMFGCOLOR		"#dddddd"
14 16
#define SELBGCOLOR		"#333366"
15 17
#define SELFGCOLOR		"#eeeeee"
16 -
#define NORMBGCOLOR		"#333333"
17 -
#define NORMFGCOLOR		"#dddddd"
18 18
#define STATUSBGCOLOR		"#222222"
19 19
#define STATUSFGCOLOR		"#9999cc"
20 20
21 +
#define MASTERW			60 /* percent */
21 22
#define MODKEY			Mod1Mask
22 -
#define MASTERW			60 /* percent */
23 23
24 24
#define KEYS \
25 25
static Key key[] = { \
29 29
	{ MODKEY,			XK_p,		spawn, \
30 30
		{ .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
31 31
			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
32 -
			 "done | sort -u | dmenu)\" && exec $exe" } }, \
32 +
			 "done | sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"'" \
33 +
			 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
33 34
	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
34 35
	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
35 36
	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
config.default.h +3 −3
11 11
#define TILESYMBOL		"[]="
12 12
13 13
#define FONT			"fixed"
14 -
#define SELBGCOLOR		"#666699"
15 -
#define SELFGCOLOR		"#eeeeee"
16 14
#define NORMBGCOLOR		"#333366"
17 15
#define NORMFGCOLOR		"#cccccc"
16 +
#define SELBGCOLOR		"#666699"
17 +
#define SELFGCOLOR		"#eeeeee"
18 18
#define STATUSBGCOLOR		"#dddddd"
19 19
#define STATUSFGCOLOR		"#222222"
20 20
21 -
#define MODKEY			Mod1Mask
22 21
#define MASTERW			60 /* percent */
22 +
#define MODKEY			Mod1Mask
23 23
24 24
#define KEYS \
25 25
static Key key[] = { \