tfixed executing of dmenu output to handle args correctly - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 529be52fea06151df1f0056ae6f7bfedf819d107
(DIR) parent ca65478c8968434c78aacf4a102ccbbe4a66ad9e
(HTM) 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:
M config.arg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/config.arg.h b/config.arg.h
t@@ -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 } }, \