dwm-meillo

diff config.default.h @ 263:118d3e010e5e

made shortcuts like proposed by Sander, renamed viewextend to toggleview (more clear)
author Anselm R.Garbe <arg@10ksloc.org>
date Sun, 13 Aug 2006 17:58:06 +0200
parents d659a2dce2b5
children 8a8ea74e1b87
line diff
     1.1 --- a/config.default.h	Fri Aug 11 19:26:12 2006 +0200
     1.2 +++ b/config.default.h	Sun Aug 13 17:58:06 2006 +0200
     1.3 @@ -31,11 +31,11 @@
     1.4  	{ MODKEY,			XK_m,		togglemax,	{ 0 } }, \
     1.5  	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
     1.6  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
     1.7 -	{ MODKEY|ControlMask,		XK_0,		appendtag,	{ .i = 0 } }, \
     1.8 -	{ MODKEY|ControlMask,		XK_1,		appendtag,	{ .i = 1 } }, \
     1.9 -	{ MODKEY|ControlMask,		XK_2,		appendtag,	{ .i = 2 } }, \
    1.10 -	{ MODKEY|ControlMask,		XK_3,		appendtag,	{ .i = 3 } }, \
    1.11 -	{ MODKEY|ControlMask,		XK_4,		appendtag,	{ .i = 4 } }, \
    1.12 +	{ MODKEY|ControlMask,		XK_0,		toggleview,	{ .i = 0 } }, \
    1.13 +	{ MODKEY|ControlMask,		XK_1,		toggleview,	{ .i = 1 } }, \
    1.14 +	{ MODKEY|ControlMask,		XK_2,		toggleview,	{ .i = 2 } }, \
    1.15 +	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 3 } }, \
    1.16 +	{ MODKEY|ControlMask,		XK_4,		toggleview,	{ .i = 4 } }, \
    1.17  	{ MODKEY|ShiftMask,		XK_0,		replacetag,	{ .i = 0 } }, \
    1.18  	{ MODKEY|ShiftMask,		XK_1,		replacetag,	{ .i = 1 } }, \
    1.19  	{ MODKEY|ShiftMask,		XK_2,		replacetag,	{ .i = 2 } }, \
    1.20 @@ -44,11 +44,11 @@
    1.21  	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
    1.22  	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } }, \
    1.23  	{ MODKEY|ShiftMask,		XK_Return,	spawn,		{ .cmd = "exec xterm" } }, \
    1.24 -	{ MODKEY|ControlMask|ShiftMask,	XK_0,		viewextend,	{ .i = 0 } }, \
    1.25 -	{ MODKEY|ControlMask|ShiftMask,	XK_1,		viewextend,	{ .i = 1 } }, \
    1.26 -	{ MODKEY|ControlMask|ShiftMask,	XK_2,		viewextend,	{ .i = 2 } }, \
    1.27 -	{ MODKEY|ControlMask|ShiftMask,	XK_3,		viewextend,	{ .i = 3 } }, \
    1.28 -	{ MODKEY|ControlMask|ShiftMask,	XK_4,		viewextend,	{ .i = 4 } }, \
    1.29 +	{ MODKEY|ControlMask|ShiftMask,	XK_0,		appendtag,	{ .i = 0 } }, \
    1.30 +	{ MODKEY|ControlMask|ShiftMask,	XK_1,		appendtag,	{ .i = 1 } }, \
    1.31 +	{ MODKEY|ControlMask|ShiftMask,	XK_2,		appendtag,	{ .i = 2 } }, \
    1.32 +	{ MODKEY|ControlMask|ShiftMask,	XK_3,		appendtag,	{ .i = 3 } }, \
    1.33 +	{ MODKEY|ControlMask|ShiftMask,	XK_4,		appendtag,	{ .i = 4 } }, \
    1.34  };
    1.35  
    1.36  #define RULES \