On Sun, Mar 28, 2010 at 08:14:56PM +0100, Connor Lane Smith wrote: > > Hey, > > On 28 March 2010 19:28, Antoni Grzymala <ant...@chopin.edu.pl> wrote: > > This might be getting off topic, but has the possibility of filename > > completion in the argument field been considered or written > > The problem with this idea is that it adds rather a lot of complexity > to a program intended to simply be a menu. dwm simply uses dmenu_run, > a shell script wrapper for the more general dmenu. To add things like > filename tab completion would undermine the simplicity and generality > of the idea.
I agree, I don't think the feature is worth the pain, it is easily done with a wrapper script like dmenu_run with a one step more to select the file one wants to open. #!/bin/sh exe=`dmenu_path | dmenu ${1+"$@"}` file=`ls -p |grep -v / |dmenu` # or something else exec $exe $file