JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed executing of dmenu output to handle args correctly
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 12 Sep 2006 17:09:04 +0000 (19:09 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 12 Sep 2006 17:09:04 +0000 (19:09 +0200)
config.arg.h

index 0ed8c74..9bb581e 100644 (file)
@@ -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 } }, \