dwm-meillo

diff config.default.h @ 189:523df4a3c1c4

using execl now, argv changed, using cmd and const char defs directly in the KEYS struct
author arg@10ksloc.org
date Fri, 04 Aug 2006 12:00:55 +0200
parents 7636f51e737f
children 713dcc7d2c42
line diff
     1.1 --- a/config.default.h	Fri Aug 04 10:36:22 2006 +0200
     1.2 +++ b/config.default.h	Fri Aug 04 12:00:55 2006 +0200
     1.3 @@ -17,7 +17,6 @@
     1.4  #define MASTERW			60 /* percent */
     1.5  
     1.6  #define KEYS \
     1.7 -	const char *term[] = { "xterm", NULL }; \
     1.8  static Key key[] = { \
     1.9  	/* modifier		key		function	arguments */ \
    1.10  	{ MODKEY,		XK_0,		view,		{ .i = 0 } }, \
    1.11 @@ -44,7 +43,10 @@
    1.12  	{ MODKEY|ShiftMask,	XK_4,		replacetag,	{ .i = 4 } }, \
    1.13  	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, \
    1.14  	{ MODKEY|ShiftMask,	XK_q,		quit,		{ 0 } }, \
    1.15 -	{ MODKEY|ShiftMask,	XK_Return,	spawn,		{ .argv = term } }, \
    1.16 +	/* { MODKEY|ShiftMask,	XK_x,		spawn, */ \
    1.17 +	/*	{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" */ \
    1.18 +	/*	" awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, */ \
    1.19 +	{ MODKEY|ShiftMask,	XK_Return,	spawn,		{ .cmd = "exec xterm" } }, \
    1.20  };
    1.21  
    1.22  #define RULES \