config.arg.h
changeset 681 335c93c666c7
parent 680 cfe656fc969a
child 684 6131d5a9e05b
equal deleted inserted replaced
680:cfe656fc969a 681:335c93c666c7
     8 #define DEFMODE			dotile		/* dofloat */
     8 #define DEFMODE			dotile		/* dofloat */
     9 #define FLOATSYMBOL		"><>"
     9 #define FLOATSYMBOL		"><>"
    10 #define TILESYMBOL		"[%u]="		/* %u is replaced with nmaster */
    10 #define TILESYMBOL		"[%u]="		/* %u is replaced with nmaster */
    11 
    11 
    12 #define FONT			"-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*"
    12 #define FONT			"-*-terminus-medium-r-*-*-14-*-*-*-*-*-*-*"
    13 #define NORMBGCOLOR		"#111111"
    13 #define NORMBGCOLOR		"#222"
    14 #define NORMFGCOLOR		"#cccccc"
    14 #define NORMFGCOLOR		"#ccc"
    15 #define SELBGCOLOR		"#336699"
    15 #define SELBGCOLOR		"#444"
    16 #define SELFGCOLOR		"#eeeeee"
    16 #define SELFGCOLOR		"#fff"
    17 #define STATUSBGCOLOR		"#222222"
    17 #define STATUSBGCOLOR		"#333"
    18 #define STATUSFGCOLOR		"#dddddd"
    18 #define STATUSFGCOLOR		"#9cf"
    19 
    19 
    20 #define MASTER			600		/* per thousand */
    20 #define MASTER			600		/* per thousand */
    21 #define MODKEY			Mod1Mask
    21 #define MODKEY			Mod1Mask
    22 #define NMASTER			1		/* clients in master area */
    22 #define NMASTER			1		/* clients in master area */
    23 #define SNAP			40		/* pixel */
    23 #define SNAP			40		/* pixel */
    24 
    24 
    25 #define KEYS \
    25 #define KEYS \
    26 static Key key[] = { \
    26 static Key key[] = { \
    27 	/* modifier			key		function		argument */ \
    27 	/* modifier			key		function		argument */ \
    28 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    28 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    29 		{ .cmd = "exec uxterm -bg black -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
    29 		{ .cmd = "exec uxterm -bg '#222' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" } }, \
    30 	{ MODKEY,			XK_p,		spawn, \
    30 	{ MODKEY,			XK_p,		spawn, \
    31 		{ .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
    31 		{ .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
    32 			" | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \
    32 			" | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' " \
    33 			"-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" } }, \
    33 			"-sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"')\" && exec $exe" } }, \
    34 	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
    34 	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \