Re: [dev] [dmenu] Putting key combinations in config.h

From: Peter John Hartman <peterjohnhartman_AT_gmail.com>
Date: Wed, 21 Oct 2009 14:48:49 -0400 (EDT)

On Wed, 21 Oct 2009, Colin Shea wrote:

> On Wed, Oct 21, 2009 at 1:15 PM, Peter John Hartman <peterjohnhartman_AT_gmail.com> wrote:
> Hi,
>
> In light of the parallel discussion re surf and dmenu, I thought I'd open up
> the following suggestion: Can we put the various keybindings used in dmenu
> in config.h rather than dmenu.c?  There is one case where I know this will
> prove useful, namely, the keybinding to close dmenu, which currently is
> XK_Escape.  I launch dmenu with a keybinding to Shift_R and I like to be
> able to close dmenu with the same keystroke, i.e.\ Shift_R.  But more
> generally most other suckless apps have the keybindings in config.h, so why
> not dmenu?
>
> Yours,
> Peter
>
>
> And I already posted to the previous discussion before reading this, great.
>
> As I stated, it would be better than a parameter passed to dmenu on the
> command line.
>
> While it would be excessive, could it also be possible to have the
> keybindings change the options available, not the input? Thinking
> something along the line of a dmenu-based clone of Google's
> Suggestions feature. Being able to type something then have dynamic
> results, rather than static. This would be a lot more complex I'd bet than
> what Anselm suggested.
>
>

Hi,

1. I'm glad we agree on the config.h vs. argument-from-commandline vs. dmenu.c question.

2. I don't understand the subsequent request, although I've never used "Google's Suggestions" either.
What do you have in mind?

Peter
Received on Wed Oct 21 2009 - 18:48:49 UTC

This archive was generated by hypermail 2.2.0 : Wed Oct 21 2009 - 19:00:02 UTC