aewl

diff config.arg.h @ 220:c95fcf1ecb4e

I really only need 3 tags
author arg@10ksloc.org
date Mon, 07 Aug 2006 14:12:28 +0200
parents fbe38830aa2f
children 87a7dbc994e3
line diff
     1.1 --- a/config.arg.h	Mon Aug 07 14:10:22 2006 +0200
     1.2 +++ b/config.arg.h	Mon Aug 07 14:12:28 2006 +0200
     1.3 @@ -4,10 +4,10 @@
     1.4   */
     1.5  
     1.6  #define TAGS \
     1.7 -const char *tags[] = { "fnord", "dev", "net", "work", "misc", NULL };
     1.8 +const char *tags[] = { "work", "net", "fnord", NULL };
     1.9  
    1.10  #define DEFMODE			dotile /* dofloat */
    1.11 -#define DEFTAG			1 /* index */
    1.12 +#define DEFTAG			0 /* index */
    1.13  #define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
    1.14  #define BGCOLOR			"#444444"
    1.15  #define FGCOLOR			"#ffffff"
    1.16 @@ -19,11 +19,9 @@
    1.17  #define KEYS \
    1.18  static Key key[] = { \
    1.19  	/* modifier		key		function	arguments */ \
    1.20 -	{ MODKEY,		XK_0,		view,		{ .i = 0 } }, \
    1.21 -	{ MODKEY,		XK_1,		view,		{ .i = 1 } }, \
    1.22 -	{ MODKEY,		XK_2,		view,		{ .i = 2 } }, \
    1.23 -	{ MODKEY,		XK_3,		view,		{ .i = 3 } }, \
    1.24 -	{ MODKEY,		XK_4,		view,		{ .i = 4 } }, \
    1.25 +	{ MODKEY,		XK_1,		view,		{ .i = 0 } }, \
    1.26 +	{ MODKEY,		XK_2,		view,		{ .i = 1 } }, \
    1.27 +	{ MODKEY,		XK_3,		view,		{ .i = 2 } }, \
    1.28  	{ MODKEY,		XK_h,		viewprev,	{ 0 } }, \
    1.29  	{ MODKEY,		XK_j,		focusnext,	{ 0 } }, \
    1.30  	{ MODKEY,		XK_k,		focusprev,	{ 0 } }, \
    1.31 @@ -34,16 +32,12 @@
    1.32  		" awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
    1.33  	{ MODKEY,		XK_space,	togglemode,	{ 0 } }, \
    1.34  	{ MODKEY,		XK_Return,	zoom,		{ 0 } }, \
    1.35 -	{ MODKEY|ControlMask,	XK_0,		appendtag,	{ .i = 0 } }, \
    1.36 -	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = 1 } }, \
    1.37 -	{ MODKEY|ControlMask,	XK_2,		appendtag,	{ .i = 2 } }, \
    1.38 -	{ MODKEY|ControlMask,	XK_3,		appendtag,	{ .i = 3 } }, \
    1.39 -	{ MODKEY|ControlMask,	XK_4,		appendtag,	{ .i = 4 } }, \
    1.40 -	{ MODKEY|ShiftMask,	XK_0,		replacetag,	{ .i = 0 } }, \
    1.41 -	{ MODKEY|ShiftMask,	XK_1,		replacetag,	{ .i = 1 } }, \
    1.42 -	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = 2 } }, \
    1.43 -	{ MODKEY|ShiftMask,	XK_3,		replacetag,	{ .i = 3 } }, \
    1.44 -	{ MODKEY|ShiftMask,	XK_4,		replacetag,	{ .i = 5 } }, \
    1.45 +	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = 0 } }, \
    1.46 +	{ MODKEY|ControlMask,	XK_2,		appendtag,	{ .i = 1 } }, \
    1.47 +	{ MODKEY|ControlMask,	XK_3,		appendtag,	{ .i = 2 } }, \
    1.48 +	{ MODKEY|ShiftMask,	XK_1,		replacetag,	{ .i = 0 } }, \
    1.49 +	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = 1 } }, \
    1.50 +	{ MODKEY|ShiftMask,	XK_3,		replacetag,	{ .i = 2 } }, \
    1.51  	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, \
    1.52  	{ MODKEY|ShiftMask,	XK_q,		quit,		{ 0 } }, \
    1.53  	{ MODKEY|ShiftMask,	XK_Return,	spawn, \