Re: [dwm] dmenu - how to autoconfirm selection in case of exact match?

From: michael_der gulliUser <michael_der_AT_gulli.com>
Date: Mon, 16 Feb 2009 18:29:17 +0100

Hi Jeremy,

thank you very much for the fast answer.

>>>Did you even try to look at the code?
I do not have any programming experience at all. I am merely a stupid end
user. Until now the most advanced stuff I've done is to compile and install
software from source. I even had to search wikipedia for diff and patch.

So, would it be sufficient to download dmenu.c and run

patch < autorun.diff ?

2009/2/16 Jeremy Jay <dinkumator_AT_gmail.com>

> Did you even try to look at the code? I bet it took you longer to write
> up the email that it took to add the 3 lines of code in the patch attached.
> could easily be made into a command line argument.
>
> Jeremy
>
>
>
> On Mon 16 Feb 2009 - 05:39PM, michael_der gulliUser wrote:
> > Hi everybody,
> >
> > I've already read the manpage and the archives of this mailing list.
> > However, unfortunately I could not find a patch / a way to tell dmenu to
> > automatically confirm a selection and execute the command, if a menu item
> > and the text I've entered match exactly. But it seems to me as if the
> > members of this mailing list are all quite knowledgeable and helpful. So
> > here I go:
> >
> > I would very much like to feed dmenu a list of menu items, each of which
> > consists only of one letter (e.g. f as an alias for firefox). In this
> > particular case, it would be terrific if dmenu automatically launches
> > firefox without the need to confirm by pressing enter.
> >
> > My longterm goal is to use dmenu as a vehicle to easily select and
> execute
> > previously recorded keyboard macros in order to alleviate my RSI.
> >
> > Is this possible at all?
> >
> > Any help / suggestions on how to accomplish this is very much
> appreciated!!!
> >
> > Thanks in advance,
> >
> > Michael
>
Received on Mon Feb 16 2009 - 17:29:17 UTC

This archive was generated by hypermail 2.2.0 : Mon Feb 16 2009 - 17:36:08 UTC