aewl

diff config.default.h @ 166:e0535db04dfe

removed the CONFIG variable from config.mk, renamed config.h into config.default.h, after first clone/extract one needs to copy config.default.h to config.h, that is easier than always heavy typing make CONFIG=blafasel
author arg@10ksloc.org
date Wed, 02 Aug 2006 16:46:59 +0200
parents config.h@21071ae1fe68
children dac0793bf3f7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config.default.h	Wed Aug 02 16:46:59 2006 +0200
     1.3 @@ -0,0 +1,62 @@
     1.4 +/*
     1.5 + * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
     1.6 + * See LICENSE file for license details.
     1.7 + */
     1.8 +
     1.9 +enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast };
    1.10 +#define TAGS \
    1.11 +char *tags[TLast] = { \
    1.12 +	[Tfnord] = "fnord", \
    1.13 +	[Tdev] = "dev", \
    1.14 +	[Tnet] = "net", \
    1.15 +	[Twork] = "work", \
    1.16 +	[Tmisc] = "misc", \
    1.17 +};
    1.18 +
    1.19 +#define DEFMODE			dotile /* dofloat */
    1.20 +#define DEFTAG			Tdev
    1.21 +#define FONT			"fixed"
    1.22 +#define BGCOLOR			"#666699"
    1.23 +#define FGCOLOR			"#eeeeee"
    1.24 +#define BORDERCOLOR		"#9999CC"
    1.25 +#define MODKEY			Mod1Mask
    1.26 +#define NUMLOCKMASK		Mod2Mask
    1.27 +#define MASTERW			52 /* percent */
    1.28 +
    1.29 +#define KEYS \
    1.30 +	const char *term[] = { "xterm", NULL }; \
    1.31 +static Key key[] = { \
    1.32 +	/* modifier		key		function	arguments */ \
    1.33 +	{ MODKEY,		XK_0,		view,		{ .i = Tfnord } }, \
    1.34 +	{ MODKEY,		XK_1,		view,		{ .i = Tdev } }, \
    1.35 +	{ MODKEY,		XK_2,		view,		{ .i = Tnet } }, \
    1.36 +	{ MODKEY,		XK_3,		view,		{ .i = Twork } }, \
    1.37 +	{ MODKEY,		XK_4,		view,		{ .i = Tmisc} }, \
    1.38 +	{ MODKEY,		XK_h,		viewprev,	{ 0 } }, \
    1.39 +	{ MODKEY,		XK_j,		focusnext,	{ 0 } }, \
    1.40 +	{ MODKEY,		XK_k,		focusprev,	{ 0 } }, \
    1.41 +	{ MODKEY,		XK_l,		viewnext,	{ 0 } }, \
    1.42 +	{ MODKEY,		XK_m,		togglemax,	{ 0 } }, \
    1.43 +	{ MODKEY,		XK_space,	togglemode,	{ 0 } }, \
    1.44 +	{ MODKEY,		XK_Return,	zoom,		{ 0 } }, \
    1.45 +	{ MODKEY|ControlMask,	XK_0,		appendtag,	{ .i = Tfnord } }, \
    1.46 +	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = Tdev } }, \
    1.47 +	{ MODKEY|ControlMask,	XK_2,		appendtag,	{ .i = Tnet } }, \
    1.48 +	{ MODKEY|ControlMask,	XK_3,		appendtag,	{ .i = Twork } }, \
    1.49 +	{ MODKEY|ControlMask,	XK_4,		appendtag,	{ .i = Tmisc } }, \
    1.50 +	{ MODKEY|ShiftMask,	XK_0,		replacetag,	{ .i = Tfnord } }, \
    1.51 +	{ MODKEY|ShiftMask,	XK_1,		replacetag,	{ .i = Tdev } }, \
    1.52 +	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = Tnet } }, \
    1.53 +	{ MODKEY|ShiftMask,	XK_3,		replacetag,	{ .i = Twork } }, \
    1.54 +	{ MODKEY|ShiftMask,	XK_4,		replacetag,	{ .i = Tmisc } }, \
    1.55 +	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, \
    1.56 +	{ MODKEY|ShiftMask,	XK_q,		quit,		{ 0 } }, \
    1.57 +	{ MODKEY|ShiftMask,	XK_Return,	spawn,		{ .argv = term } }, \
    1.58 +};
    1.59 +
    1.60 +#define RULES \
    1.61 +static Rule rule[] = { \
    1.62 +	/* class:instance	tags				isfloat */ \
    1.63 +	{ "Firefox.*",		{ [Tnet] = "net" },		False }, \
    1.64 +	{ "Gimp.*",		{ 0 },				True}, \
    1.65 +};