From b1697e8d5fc9e7c81967cdbb5391b1587a23f310 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Wed, 19 Jul 2006 14:54:19 +0200 Subject: reapplied my default keybindings --- event.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/event.c b/event.c index 6f99ea29..e4dfad16 100644 --- a/event.c +++ b/event.c @@ -12,7 +12,13 @@ #define MouseMask (ButtonMask | PointerMotionMask) /* CUSTOMIZE */ -const char *term[] = { "xterm", NULL }; +const char *browse[] = { "firefox", NULL }; +const char *gimp[] = { "gimp", NULL }; +const char *term[] = { + "urxvtc", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", + "-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL +}; +const char *xlock[] = { "xlock", NULL }; Key key[] = { /* modifier key function arguments */ @@ -38,8 +44,11 @@ Key key[] = { { Mod1Mask|ShiftMask, XK_2, replacetag, { .i = Twww } }, { Mod1Mask|ShiftMask, XK_3, replacetag, { .i = Twork } }, { Mod1Mask|ShiftMask, XK_c, killclient, { 0 } }, + { Mod1Mask|ShiftMask, XK_g, spawn, { .argv = gimp } }, + { Mod1Mask|ShiftMask, XK_l, spawn, { .argv = xlock } }, { Mod1Mask|ShiftMask, XK_q, quit, { 0 } }, { Mod1Mask|ShiftMask, XK_space, dofloat, { 0 } }, + { Mod1Mask|ShiftMask, XK_w, spawn, { .argv = browse } }, { Mod1Mask|ShiftMask, XK_Return, spawn, { .argv = term } }, }; -- cgit v1.2.3