Re: [dev] [dmenu] A clickable dmenu is a dream?

From: hiro <23hiro_AT_googlemail.com>
Date: Mon, 29 Mar 2010 00:55:00 +0200

I have actually used something like this over four years ago. It was
the second shell script I ever wrote. But last year I stopped using
dmenu altogether after it was being turned around all the time, thus
starting to suck hard :P

On 3/28/10, julien steinhauser <julien.steinhauser_AT_orange.fr> wrote:
> On Sun, Mar 28, 2010 at 08:14:56PM +0100, Connor Lane Smith wrote:
>>
>> Hey,
>>
>> On 28 March 2010 19:28, Antoni Grzymala <antoni_AT_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
>
>
>
>
>
>
Received on Sun Mar 28 2010 - 22:55:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Mar 28 2010 - 23:00:03 UTC