config.def.h
changeset 1149 2fbda289c7af
parent 1148 d49ff154375f
child 1150 40b2b183073b
equal deleted inserted replaced
1148:d49ff154375f 1149:2fbda289c7af
     7 #define NORMBGCOLOR		"#cccccc"
     7 #define NORMBGCOLOR		"#cccccc"
     8 #define NORMFGCOLOR		"#000000"
     8 #define NORMFGCOLOR		"#000000"
     9 #define SELBORDERCOLOR		"#0066ff"
     9 #define SELBORDERCOLOR		"#0066ff"
    10 #define SELBGCOLOR		"#0066ff"
    10 #define SELBGCOLOR		"#0066ff"
    11 #define SELFGCOLOR		"#ffffff"
    11 #define SELFGCOLOR		"#ffffff"
    12 #define GEOMETRY		"0 0 W B 0 B W H-B 0 B W*0.55 H-B W*0.45 B H-B 0 B W H-B"
    12 #define GEOMETRY		"0 0 W B " \
       
    13 				"0 B W H-B " \
       
    14 				"0 B W*0.55 H-B " \
       
    15 				"W*0.55 B W*0.45 H-B " \
       
    16 				"0 B W H-B"
       
    17 
       
    18 /* Anselm's dual head geometry in the office */
       
    19 #define DUALGEOMETRY		"0 0 1280 B " \
       
    20 				"0 B W H-B " \
       
    21 				"0 B 1280 800-B " \
       
    22 				"1280 0 W-1280 H " \
       
    23 				"0 B 1280 800-B"
       
    24 
    13 
    25 
    14 /* tagging */
    26 /* tagging */
    15 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    27 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    16 
    28 
    17 Rule rules[] = {
    29 Rule rules[] = {
    36 
    48 
    37 /* key definitions */
    49 /* key definitions */
    38 #define MODKEY			Mod1Mask
    50 #define MODKEY			Mod1Mask
    39 Key keys[] = {
    51 Key keys[] = {
    40 	/* modifier			key		function	argument */
    52 	/* modifier			key		function	argument */
    41 	{ MODKEY,			XK_a,		setgeom,	"0 0 W B 0 B W H-B 0 B 1280 800-B 1280 0 W-1280 H 0 B 1280 800-B" },
    53 	{ MODKEY,			XK_a,		setgeom,	DUALGEOMETRY },
    42 	{ MODKEY,			XK_d,		setgeom,	GEOMETRY },
    54 	{ MODKEY,			XK_d,		setgeom,	GEOMETRY },
    43 	{ MODKEY,			XK_p,		spawn,
    55 	{ MODKEY,			XK_p,		spawn,
    44 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
    56 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
    45 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" },
    57 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" },
    46 	{ MODKEY,			XK_j,		focusnext,	NULL },
    58 	{ MODKEY,			XK_j,		focusnext,	NULL },