aewl

diff event.c @ 111:2a1879e05d5a

reapplied my default keybindings
author arg@10ksloc.org
date Wed, 19 Jul 2006 14:54:19 +0200
parents f5b0c3d22d93
children b2445fd41f5e
line diff
     1.1 --- a/event.c	Wed Jul 19 14:49:19 2006 +0200
     1.2 +++ b/event.c	Wed Jul 19 14:54:19 2006 +0200
     1.3 @@ -12,7 +12,13 @@
     1.4  #define MouseMask       (ButtonMask | PointerMotionMask)
     1.5  
     1.6  /* CUSTOMIZE */
     1.7 -const char *term[] = { "xterm", NULL };
     1.8 +const char *browse[] = { "firefox", NULL };
     1.9 +const char *gimp[] = { "gimp", NULL };
    1.10 +const char *term[] = { 
    1.11 +	"urxvtc", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white",
    1.12 +	"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL
    1.13 +};
    1.14 +const char *xlock[] = { "xlock", NULL };
    1.15  
    1.16  Key key[] = {
    1.17  	/* modifier				key			function	arguments */
    1.18 @@ -38,8 +44,11 @@
    1.19  	{ Mod1Mask|ShiftMask,	XK_2,		replacetag,		{ .i = Twww } }, 
    1.20  	{ Mod1Mask|ShiftMask,	XK_3,		replacetag,		{ .i = Twork } }, 
    1.21  	{ Mod1Mask|ShiftMask,	XK_c,		killclient,		{ 0 } }, 
    1.22 +	{ Mod1Mask|ShiftMask,	XK_g,		spawn,		{ .argv = gimp } },
    1.23 +	{ Mod1Mask|ShiftMask,	XK_l,		spawn,		{ .argv = xlock } },
    1.24  	{ Mod1Mask|ShiftMask,	XK_q,		quit,		{ 0 } },
    1.25  	{ Mod1Mask|ShiftMask,	XK_space,	dofloat,	{ 0 } }, 
    1.26 +	{ Mod1Mask|ShiftMask,	XK_w,		spawn,		{ .argv = browse } },
    1.27  	{ Mod1Mask|ShiftMask,	XK_Return,	spawn,		{ .argv = term } },
    1.28  };
    1.29