In config.arg.h and config.default.h , dmenu is run like this :
exe=`dmenu_path | dmenu` && exec $exe

This doesn't work for commands with arguments, eg "xterm -e top" or "import
-w root root.png" or whatever.

But running dmenu like this works fine (thanks to rob__ on #dwm for that hint 
;) :
exe=`dmenu_path | dmenu` && eval "exec $exe"

Does it have any downsides? If not, maybe it could be done in both config.h 
examples.

Reply via email to