From 9955ddc978c2e6acfe246f29f1d317b55d860757 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Fri, 4 Aug 2006 12:00:55 +0200 Subject: using execl now, argv changed, using cmd and const char defs directly in the KEYS struct --- config.default.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.default.h') diff --git a/config.default.h b/config.default.h index 14f33ec..cefb7f7 100644 --- a/config.default.h +++ b/config.default.h @@ -17,7 +17,6 @@ const char *tags[] = { "0", "1", "2", "3", "4", NULL }; #define MASTERW 60 /* percent */ #define KEYS \ - const char *term[] = { "xterm", NULL }; \ static Key key[] = { \ /* modifier key function arguments */ \ { MODKEY, XK_0, view, { .i = 0 } }, \ @@ -44,7 +43,10 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_4, replacetag, { .i = 4 } }, \ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ - { MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, \ + /* { MODKEY|ShiftMask, XK_x, spawn, */ \ + /* { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" */ \ + /* " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, */ \ + { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ }; #define RULES \ -- cgit v1.2.3-70-g09d2