config.def.h
changeset 1135 a3be6b8a792d
parent 1131 3556f7031193
child 1147 def76530f636
equal deleted inserted replaced
1134:60781abf8aa7 1135:a3be6b8a792d
     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 
       
    13 /* bar position */
       
    14 #define BX sx
       
    15 #define BY sy
       
    16 #define BW sw
       
    17 
       
    18 /* window area */
       
    19 #define WX 0
       
    20 #define WY bh
       
    21 #define WW sw
       
    22 #define WH sh - bh
       
    23 
       
    24 /* master area */
       
    25 #define MX WX
       
    26 #define MY WY
       
    27 #define MW ((int)(((float)sw) * 0.6))
       
    28 #define MH WH
       
    29 
       
    30 /* tile area, might be on a different screen */
       
    31 #define TX MX + MW
       
    32 #define TY WY
       
    33 #define TW WW - MW
       
    34 #define TH WH
       
    35 
       
    36 /* monocle area, might be restricted to a specific screen */
       
    37 #define MOX WX
       
    38 #define MOY WY
       
    39 #define MOW WW
       
    40 #define MOH WH
       
    41 
    12 
    42 /* tagging */
    13 /* tagging */
    43 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    14 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    44 
    15 
    45 Rule rules[] = {
    16 Rule rules[] = {
    64 
    35 
    65 /* key definitions */
    36 /* key definitions */
    66 #define MODKEY			Mod1Mask
    37 #define MODKEY			Mod1Mask
    67 Key keys[] = {
    38 Key keys[] = {
    68 	/* modifier			key		function	argument */
    39 	/* modifier			key		function	argument */
    69 #if ANSELM_OFFICE
       
    70 	{ MODKEY,			XK_p,		spawn,
       
    71 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"' -x 0 -y 0 -w 1280" },
       
    72 #else
       
    73 	{ MODKEY,			XK_p,		spawn,
    40 	{ MODKEY,			XK_p,		spawn,
    74 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
    41 		"exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
    75 #endif
       
    76 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" },
    42 	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec uxterm" },
    77 	{ MODKEY,			XK_j,		focusnext,	NULL },
    43 	{ MODKEY,			XK_j,		focusnext,	NULL },
    78 	{ MODKEY,			XK_k,		focusprev,	NULL },
    44 	{ MODKEY,			XK_k,		focusprev,	NULL },
    79 	{ MODKEY,			XK_r,		reapply,	NULL },
    45 	{ MODKEY,			XK_r,		reapply,	NULL },
    80 	{ MODKEY,			XK_Return,	zoom,		NULL },
    46 	{ MODKEY,			XK_Return,	zoom,		NULL },