config.arg.h
changeset 958 8b502be8b8e0
parent 956 484245788760
child 959 0aeefb841608
equal deleted inserted replaced
957:e61ca30d9474 958:8b502be8b8e0
    13 
    13 
    14 /* tagging */
    14 /* tagging */
    15 #define TAGS \
    15 #define TAGS \
    16 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
    16 const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
    17 #define RULES \
    17 #define RULES \
    18 static Rule rule[] = { \
    18 static Rule rules[] = { \
    19 	/* class:instance:title regex	tags regex	isfloating */ \
    19 	/* class:instance:title regex	tags regex	isfloating */ \
    20 	{ "Firefox",			"3",		False }, \
    20 	{ "Firefox",			"3",		False }, \
    21 	{ "Gimp",			NULL,		True }, \
    21 	{ "Gimp",			NULL,		True }, \
    22 	{ "MPlayer",			NULL,		True }, \
    22 	{ "MPlayer",			NULL,		True }, \
    23 	{ "Acroread",			NULL,		True }, \
    23 	{ "Acroread",			NULL,		True }, \
    24 };
    24 };
    25 
    25 
    26 /* layout(s) */
    26 /* layout(s) */
    27 #include "tile.h"
    27 #include "tile.h"
    28 #define LAYOUTS \
    28 #define LAYOUTS \
    29 static Layout layout[] = { \
    29 static Layout layouts[] = { \
    30 	/* symbol		function */ \
    30 	/* symbol		function */ \
    31 	{ "[]=",		tile }, /* first entry is default */ \
    31 	{ "[]=",		tile }, /* first entry is default */ \
    32 	{ "><>",		floating }, \
    32 	{ "><>",		floating }, \
    33 };
    33 };
    34 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
    34 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
    35 #define SNAP			32	/* snap pixel */
    35 #define SNAP			32	/* snap pixel */
    36 
    36 
    37 /* key definitions */
    37 /* key definitions */
    38 #define MODKEY			Mod1Mask
    38 #define MODKEY			Mod1Mask
    39 #define KEYS \
    39 #define KEYS \
    40 Key key[] = { \
    40 Key keys[] = { \
    41 	/* modifier			key		function	argument */ \
    41 	/* modifier			key		function	argument */ \
    42 	{ MODKEY,			XK_p,		spawn, \
    42 	{ MODKEY,			XK_p,		spawn, \
    43 		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
    43 		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
    44 		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
    44 		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
    45 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
    45 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \