From: Anselm R. Garbe Date: Tue, 12 Sep 2006 17:09:04 +0000 (+0200) Subject: fixed executing of dmenu output to handle args correctly X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=529be52fea06151df1f0056ae6f7bfedf819d107 fixed executing of dmenu output to handle args correctly --- diff --git a/config.arg.h b/config.arg.h index 0ed8c74..9bb581e 100644 --- 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 } }, \