dwm-meillo

diff event.c @ 130:30d1302dbe3b

sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY
author arg@10ksloc.org
date Fri, 21 Jul 2006 07:37:52 +0200
parents b4b8b4236599
children 467ad2d3a6fa
line diff
     1.1 --- a/event.c	Thu Jul 20 19:09:11 2006 +0200
     1.2 +++ b/event.c	Fri Jul 21 07:37:52 2006 +0200
     1.3 @@ -30,27 +30,26 @@
     1.4  
     1.5  static Key key[] = {
     1.6  	/* modifier		key		function	arguments */
     1.7 -	{ ControlMask,		XK_0,		appendtag,	{ .i = Tscratch } }, 
     1.8 -	{ ControlMask,		XK_1,		appendtag,	{ .i = Tdev } }, 
     1.9 -	{ ControlMask,		XK_2,		appendtag,	{ .i = Twww } }, 
    1.10 -	{ ControlMask,		XK_3,		appendtag,	{ .i = Twork } }, 
    1.11 -	{ MODKEY,		XK_0,		view,		{ .i = Tscratch } }, 
    1.12 +	{ MODKEY,		XK_0,		view,		{ .i = Tfnord } }, 
    1.13  	{ MODKEY,		XK_1,		view,		{ .i = Tdev } }, 
    1.14 -	{ MODKEY,		XK_2,		view,		{ .i = Twww } }, 
    1.15 +	{ MODKEY,		XK_2,		view,		{ .i = Tnet } }, 
    1.16  	{ MODKEY,		XK_3,		view,		{ .i = Twork } }, 
    1.17 +	{ MODKEY,		XK_4,		view,		{ .i = Tmisc} }, 
    1.18  	{ MODKEY,		XK_j,		focusnext,	{ 0 } }, 
    1.19  	{ MODKEY,		XK_k,		focusprev,	{ 0 } },
    1.20  	{ MODKEY,		XK_m,		togglemax,	{ 0 } }, 
    1.21  	{ MODKEY,		XK_space,	togglemode,	{ 0 } }, 
    1.22  	{ MODKEY,		XK_Return,	zoom,		{ 0 } },
    1.23 -	{ ControlMask|ShiftMask,XK_0,		heretag,	{ .i = Tscratch } }, 
    1.24 -	{ ControlMask|ShiftMask,XK_1,		heretag,	{ .i = Tdev } }, 
    1.25 -	{ ControlMask|ShiftMask,XK_2,		heretag,	{ .i = Twww } }, 
    1.26 -	{ ControlMask|ShiftMask,XK_3,		heretag,	{ .i = Twork } }, 
    1.27 -	{ MODKEY|ShiftMask,	XK_0,		replacetag,	{ .i = Tscratch } }, 
    1.28 +	{ MODKEY|ControlMask,	XK_0,		appendtag,	{ .i = Tfnord } }, 
    1.29 +	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = Tdev } }, 
    1.30 +	{ MODKEY|ControlMask,	XK_2,		appendtag,	{ .i = Tnet } }, 
    1.31 +	{ MODKEY|ControlMask,	XK_3,		appendtag,	{ .i = Twork } }, 
    1.32 +	{ MODKEY|ControlMask,	XK_4,		appendtag,	{ .i = Tmisc } }, 
    1.33 +	{ MODKEY|ShiftMask,	XK_0,		replacetag,	{ .i = Tfnord } }, 
    1.34  	{ MODKEY|ShiftMask,	XK_1,		replacetag,	{ .i = Tdev } }, 
    1.35 -	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = Twww } }, 
    1.36 +	{ MODKEY|ShiftMask,	XK_2,		replacetag,	{ .i = Tnet } }, 
    1.37  	{ MODKEY|ShiftMask,	XK_3,		replacetag,	{ .i = Twork } }, 
    1.38 +	{ MODKEY|ShiftMask,	XK_4,		replacetag,	{ .i = Tmisc } }, 
    1.39  	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, 
    1.40  	{ MODKEY|ShiftMask,	XK_g,		spawn,		{ .argv = gimp } },
    1.41  	{ MODKEY|ShiftMask,	XK_l,		spawn,		{ .argv = xlock } },