config.def.h
changeset 1129 43d862bda73e
parent 1126 395dc8e943ea
child 1130 b661ad410646
equal deleted inserted replaced
1128:538657548b5d 1129:43d862bda73e
    11 #define SELFGCOLOR		"#ffffff"
    11 #define SELFGCOLOR		"#ffffff"
    12 
    12 
    13 /* bar position */
    13 /* bar position */
    14 #define BX sx
    14 #define BX sx
    15 #define BY sy
    15 #define BY sy
    16 #define BW MW
    16 #define BW sw
    17 
    17 
    18 /* window area */
    18 /* window area */
    19 #define WX 0
    19 #define WX 0
    20 #define WY bh
    20 #define WY bh
    21 #define WW sw
    21 #define WW sw
    22 #define WH sh
    22 #define WH sh - bh
    23 
    23 
    24 /* master area */
    24 /* master area */
    25 #define MX sx
    25 #define MX WX
    26 #define MY sy + bh
    26 #define MY WY
    27 #define MW ((int)(((float)sw) * 0.6))
    27 #define MW ((int)(((float)sw) * 0.6))
    28 #define MH sh - bh
    28 #define MH WH
    29 
    29 
    30 /* tile area, might be on a different screen */
    30 /* tile area, might be on a different screen */
    31 #define TX sx + MW
    31 #define TX MX + MW
    32 #define TY sy
    32 #define TY WY
    33 #define TW sw - MW
    33 #define TW WW - MW
    34 #define TH sh
    34 #define TH WH
    35 
    35 
    36 /* monocle area, might be restricted to a specific screen */
    36 /* monocle area, might be restricted to a specific screen */
    37 #define MOX sx
    37 #define MOX WX
    38 #define MOY MY
    38 #define MOY WY
    39 #define MOW sw
    39 #define MOW WW
    40 #define MOH MH
    40 #define MOH WH
    41 
    41 
    42 /* tagging */
    42 /* tagging */
    43 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    43 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    44 
    44 
    45 Rule rules[] = {
    45 Rule rules[] = {
    53 /* layout(s) */
    53 /* layout(s) */
    54 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    54 #define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
    55 #define SNAP			32	/* snap pixel */
    55 #define SNAP			32	/* snap pixel */
    56 
    56 
    57 Layout layouts[] = {
    57 Layout layouts[] = {
    58 	/* symbol		function */
    58 	/* symbol		function	isfloating */
    59 	{ "[]=",		tile }, /* first entry is default */
    59 	{ "[]=",		tile,		False }, /* first entry is default */
    60 	{ "><>",		floating },
    60 	{ "><>",		floating	True },
    61 	{ "[M]",		monocle },
    61 	{ "[M]",		monocle		True },
    62 };
    62 };
    63 
    63 
    64 /* key definitions */
    64 /* key definitions */
    65 #define MODKEY			Mod1Mask
    65 #define MODKEY			Mod1Mask
    66 Key keys[] = {
    66 Key keys[] = {