dwm-meillo

changeset 536:d5aa5a4be560

using lsx instead of Jukka's shell construct
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 13 Oct 2006 18:47:24 +0200
parents 13ef0d218c67
children 1e0a3b974036
files config.arg.h
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/config.arg.h	Fri Oct 06 14:01:53 2006 +0200
     1.2 +++ b/config.arg.h	Fri Oct 13 18:47:24 2006 +0200
     1.3 @@ -26,10 +26,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 = "exe=\"$(IFS=:; for dir in $PATH; do " \
     1.8 -			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; done " \
     1.9 -			 "| sort -u | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
    1.10 -			 "-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
    1.11 +		{ .cmd = "exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
    1.12 +			" | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
    1.13 +			"-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" } }, \
    1.14  	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
    1.15  	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
    1.16  	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \