aewl

changeset 493:d0104ede6454

changed order of colordefs in config.h's, changed config.arg.h to fit to new dmenu
author arg@mmvi
date Tue, 26 Sep 2006 13:24:14 +0200
parents 5df494262dfd
children 36f9bb3da949
files config.arg.h config.default.h
diffstat 2 files changed, 8 insertions(+), 7 deletions(-) [+]
line diff
     1.1 --- a/config.arg.h	Tue Sep 26 08:17:35 2006 +0200
     1.2 +++ b/config.arg.h	Tue Sep 26 13:24:14 2006 +0200
     1.3 @@ -11,15 +11,15 @@
     1.4  #define TILESYMBOL		"[]="
     1.5  
     1.6  #define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
     1.7 +#define NORMBGCOLOR		"#333333"
     1.8 +#define NORMFGCOLOR		"#dddddd"
     1.9  #define SELBGCOLOR		"#333366"
    1.10  #define SELFGCOLOR		"#eeeeee"
    1.11 -#define NORMBGCOLOR		"#333333"
    1.12 -#define NORMFGCOLOR		"#dddddd"
    1.13  #define STATUSBGCOLOR		"#222222"
    1.14  #define STATUSFGCOLOR		"#9999cc"
    1.15  
    1.16 +#define MASTERW			60 /* percent */
    1.17  #define MODKEY			Mod1Mask
    1.18 -#define MASTERW			60 /* percent */
    1.19  
    1.20  #define KEYS \
    1.21  static Key key[] = { \
    1.22 @@ -29,7 +29,8 @@
    1.23  	{ MODKEY,			XK_p,		spawn, \
    1.24  		{ .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
    1.25  			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
    1.26 -			 "done | sort -u | dmenu)\" && exec $exe" } }, \
    1.27 +			 "done | sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"'" \
    1.28 +			 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
    1.29  	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
    1.30  	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
    1.31  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
     2.1 --- a/config.default.h	Tue Sep 26 08:17:35 2006 +0200
     2.2 +++ b/config.default.h	Tue Sep 26 13:24:14 2006 +0200
     2.3 @@ -11,15 +11,15 @@
     2.4  #define TILESYMBOL		"[]="
     2.5  
     2.6  #define FONT			"fixed"
     2.7 +#define NORMBGCOLOR		"#333366"
     2.8 +#define NORMFGCOLOR		"#cccccc"
     2.9  #define SELBGCOLOR		"#666699"
    2.10  #define SELFGCOLOR		"#eeeeee"
    2.11 -#define NORMBGCOLOR		"#333366"
    2.12 -#define NORMFGCOLOR		"#cccccc"
    2.13  #define STATUSBGCOLOR		"#dddddd"
    2.14  #define STATUSFGCOLOR		"#222222"
    2.15  
    2.16 +#define MASTERW			60 /* percent */
    2.17  #define MODKEY			Mod1Mask
    2.18 -#define MASTERW			60 /* percent */
    2.19  
    2.20  #define KEYS \
    2.21  static Key key[] = { \