aewl

changeset 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 aba385c61b3b
children e3179ce2b904
files config.arg.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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 } }, \