From 529be52fea06151df1f0056ae6f7bfedf819d107 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 12 Sep 2006 19:09:04 +0200 Subject: [PATCH] fixed executing of dmenu output to handle args correctly --- config.arg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }, \ -- 1.7.10.4