config.def.h
changeset 1189 58366c12324e
parent 1188 1765468a0546
child 1190 c8eaba1445a4
equal deleted inserted replaced
1188:1765468a0546 1189:58366c12324e
    20 
    20 
    21 /* geometries, s{x,y,w,h} and bh are already initualized here */
    21 /* geometries, s{x,y,w,h} and bh are already initualized here */
    22 /*   func name  bx  by  bw  wx  wy  ww     wh  mx  my       mw  mh     tx  ty     tw  th  mox moy mow moh */
    22 /*   func name  bx  by  bw  wx  wy  ww     wh  mx  my       mw  mh     tx  ty     tw  th  mox moy mow moh */
    23 #define MFACT			0.55	/* master width factor [0.1 .. 0.9] */
    23 #define MFACT			0.55	/* master width factor [0.1 .. 0.9] */
    24 DEFGEOM(single,  0,  0, sw,  0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh,  wx, wy, ww, wh)
    24 DEFGEOM(single,  0,  0, sw,  0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh,  wx, wy, ww, wh)
    25 DEFGEOM(dual,    0,  0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh,  1280,  0, ww-mw, sh,  mx, my, mw, mh)
       
    26 
    25 
    27 Geom geoms[] = {
    26 Geom geoms[] = {
    28 	/* symbol	function */
    27 	/* symbol	function */
    29 	{ "[]",		single },	/* first entry is default */
    28 	{ "[]",		single },	/* first entry is default */
    30 	{ "[][]",	dual },
       
    31 };
    29 };
    32 
    30 
    33 /* layout(s) */
    31 /* layout(s) */
    34 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    32 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    35 #define SNAP			32	/* snap pixel */
    33 #define SNAP			32	/* snap pixel */
    36 
    34 
    37 Layout layouts[] = {
    35 Layout layouts[] = {
    38 	/* symbol		function	isfloating */
    36 	/* symbol		function	isfloating */
    39 	{ "[]=",		tilev,		False }, /* first entry is default */
    37 	{ "[]=",		tilev,		False }, /* first entry is default */
    40 	{ "<>=",		tilev,		True },
    38 	{ "><>",		NULL,		True },
    41 	{ "[]|",		tileh,		False },
    39 	{ "<M>",		monocle,	True },
    42 	{ "<>|",		tileh,		True },
       
    43 	{ "><>",		NULL,	True },
       
    44 	{ "[m]",		monocle,	False },
       
    45 	{ "[M]",		monocle,	True },
       
    46 };
    40 };
    47 
    41 
    48 /* key definitions */
    42 /* key definitions */
    49 #define MODKEY			Mod1Mask
    43 #define MODKEY			Mod1Mask
    50 Key keys[] = {
    44 Key keys[] = {