dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 529be52fea06151df1f0056ae6f7bfedf819d107
parent ca65478c8968434c78aacf4a102ccbbe4a66ad9e
Author: Anselm R. Garbe <arg@10kloc.org>
Date:   Tue, 12 Sep 2006 19:09:04 +0200

fixed executing of dmenu output to handle args correctly
Diffstat:
Mconfig.arg.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.arg.h b/config.arg.h
@@ -29,7 +29,7 @@ static Key key[] = { \
     { MODKEY,            XK_p,        spawn, \
         { .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
              "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
-             "done | sort -u | dmenu)\" && exec \"$exe\"" } }, \
+             "done | sort -u | dmenu)\" && exec $exe" } }, \
     { MODKEY,            XK_j,        focusnext,    { 0 } }, \
     { MODKEY,            XK_k,        focusprev,    { 0 } }, \
     { MODKEY,            XK_Return,    zoom,        { 0 } }, \