config.arg.h
changeset 983 e986f1a399a6
parent 982 e8f4f6f6cff0
equal deleted inserted replaced
982:e8f4f6f6cff0 983:e986f1a399a6
     2 
     2 
     3 /* appearance */
     3 /* appearance */
     4 #define BARPOS			BarTop /* BarBot, BarOff */
     4 #define BARPOS			BarTop /* BarBot, BarOff */
     5 #define BORDERPX		1
     5 #define BORDERPX		1
     6 #define FONT			"-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*"
     6 #define FONT			"-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*"
     7 #define NORMBORDERCOLOR		"#cccc99"
     7 #define NORMBORDERCOLOR		"#244"
     8 #define NORMFGCOLOR		"#000000"
     8 #define NORMFGCOLOR		"#ddd"
     9 #define NORMBGCOLOR		"#99cc99"
     9 #define NORMBGCOLOR		"#133"
    10 #define SELBORDERCOLOR		"#669966"
    10 #define SELBORDERCOLOR		"#699"
    11 #define SELFGCOLOR		"#000000"
    11 #define SELFGCOLOR		"#eee"
    12 #define SELBGCOLOR		"#ccffcc"
    12 #define SELBGCOLOR		"#366"
       
    13 #define TERMBGCOLOR		"#122"
       
    14 #define TERMFGCOLOR		"#ddd"
       
    15 #define TERMCRCOLOR		"#ddd"
    13 
    16 
    14 /* tagging */
    17 /* tagging */
    15 #define TAGS \
    18 #define TAGS \
    16 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
    19 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
    17 #define RULES \
    20 #define RULES \
    42 	/* modifier			key		function	argument */ \
    45 	/* modifier			key		function	argument */ \
    43 	{ MODKEY,			XK_p,		spawn, \
    46 	{ MODKEY,			XK_p,		spawn, \
    44 		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
    47 		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
    45 		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
    48 		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
    46 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    49 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    47 		"exec xterm -bg '#ffffea' -fg '#222222' -cr '#222222' +sb -fn '"FONT"'" }, \
    50 		"exec xterm -bg '"TERMBGCOLOR"' -fg '"TERMFGCOLOR"' -cr '"TERMCRCOLOR"' +sb -fn '"FONT"'" }, \
    48 	{ MODKEY,			XK_space,	setlayout,	NULL }, \
    51 	{ MODKEY,			XK_space,	setlayout,	NULL }, \
    49 	{ MODKEY,			XK_b,		togglebar,	NULL }, \
    52 	{ MODKEY,			XK_b,		togglebar,	NULL }, \
    50 	{ MODKEY,			XK_j,		focusnext,	NULL }, \
    53 	{ MODKEY,			XK_j,		focusnext,	NULL }, \
    51 	{ MODKEY,			XK_k,		focusprev,	NULL }, \
    54 	{ MODKEY,			XK_k,		focusprev,	NULL }, \
    52 	{ MODKEY,			XK_h,		setmwfact,	"-0.05" }, \
    55 	{ MODKEY,			XK_h,		setmwfact,	"-0.05" }, \