dwm-meillo

diff config.arg.h @ 389:3727555e6bfc

now using Salmi's menu command
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 30 Aug 2006 11:21:56 +0200
parents b1159a638d0a
children 278277287de6
line diff
     1.1 --- a/config.arg.h	Wed Aug 30 11:15:58 2006 +0200
     1.2 +++ b/config.arg.h	Wed Aug 30 11:21:56 2006 +0200
     1.3 @@ -27,8 +27,9 @@
     1.4  	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
     1.5  		{ .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
     1.6  	{ MODKEY,			XK_p,		spawn, \
     1.7 -		{ .cmd = "exec `ls -lL /usr/bin /usr/X11R6/bin /usr/local/bin 2>/dev/null | " \
     1.8 -			"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \
     1.9 +		{ .cmd = "exec \"$(IFS=:; for dir in $PATH; do " \
    1.10 +			"for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
    1.11 +			"done | sort -u | dmenu)\"" } }, \
    1.12  	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
    1.13  	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
    1.14  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \