aewl

diff config.h @ 765:f1d4bc4afcd9

why is config.h not versioned ... it should be. Now it is
author meillo@marmaro.de
date Fri, 05 Dec 2008 19:13:24 +0100
parents
children 3f7c68a720b5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config.h	Fri Dec 05 19:13:24 2008 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +/* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
     1.5 + * (C)opyright MMVIII markus schnalke <meillo at marmaro dot de>
     1.6 + * See LICENSE file for license details.
     1.7 + */
     1.8 +
     1.9 +#define NAMESEL "Das Alles"
    1.10 +#define NAMENSEL "Das Nichts"
    1.11 +
    1.12 +#define BORDERPX		1
    1.13 +#define DEFMODE			domax		/* dotile */
    1.14 +
    1.15 +#define FONT			"-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*"
    1.16 +#define NORMBGCOLOR		"#333333"
    1.17 +#define NORMFGCOLOR		"#bbbbbb"
    1.18 +#define SELBGCOLOR		"#eec900"
    1.19 +#define SELFGCOLOR		"#000000"
    1.20 +
    1.21 +#define MODKEY			Mod1Mask
    1.22 +#define NMASTER			1		/* clients in master area */
    1.23 +#define SNAP			5		/* pixel */
    1.24 +
    1.25 +#define KEYS \
    1.26 +static Key key[] = { \
    1.27 +	/* modifier			key		function	argument */ \
    1.28 +	{ MODKEY|ShiftMask,		XK_Return,	spawn,		"exec urxvt" }, \
    1.29 +	{ MODKEY,			XK_F1,		toggleview,		"" }, \
    1.30 +	{ MODKEY,			XK_F2,		toggleview,		"" }, \
    1.31 +	{ MODKEY,			XK_Tab,		focusnext,	"" }, \
    1.32 +	{ MODKEY,			XK_asciicircum,		spawn, "dmenu_run -fn '"FONT"' "\
    1.33 +	         "-nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'"  }, \
    1.34 +	{ MODKEY,			XK_1, 	zoom,		"" }, \
    1.35 +	{ MODKEY, 		XK_2,		killclient,	"" }, \
    1.36 +	{ MODKEY|ShiftMask,		XK_q,		quit,		"" }, \
    1.37 +	{ MODKEY|ShiftMask,			XK_F4,		spawn,		"sudo /sbin/shutdown -h -t 3 now"  }, \
    1.38 +	{ MODKEY,			XK_space,	togglemode,	"" }, \
    1.39 +	{ MODKEY|ShiftMask,		XK_space,	togglefloat,	"" }, \
    1.40 +	{ MODKEY,			XK_plus,		incnmaster,	"" }, \
    1.41 +	{ MODKEY,			XK_minus,		decnmaster,	"" }, \
    1.42 +	{ MODKEY,		XK_F3,		togglegroup,		"" }, \
    1.43 +};
    1.44 +
    1.45 +/* Query class:instance:title for regex matching info with following command:
    1.46 + * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
    1.47 +#define RULES \
    1.48 +static Rule rule[] = { \
    1.49 +	/* class:instance:title regex, group (0=first/1=second/-1=curr), isfloat */ \
    1.50 +	{ "URxvt.*",	  	  	1,	    	False }, \
    1.51 +	{ "MPlayer.*",		  	-1,	    	True }, \
    1.52 +	{ "qiv.*",		  	    -1,	    	False }, \
    1.53 +	{ "Gimp.*",	      		0,		True }, \
    1.54 +	{ ".*",		          	0,	    	False }, \
    1.55 +};