Re: [dev] [dmenu] incremental output patch

From: Rob <robpilling_AT_gmail.com>
Date: Sat, 8 May 2010 00:20:57 +0100

Here's a config.h macro if anyone wants it.

#define INC_SEARCH { .v = (char *[]){ "/bin/sh", "-c", \
  "dmenu -r < /dev/null | while read -r find;do xprop -id $0 -f _SURF_FIND 8s "\
  "-set _SURF_FIND \"$find\";done", \
  winid, NULL } }

On 5 May 2010 20:11, Troels Henriksen <athas_AT_sigkill.dk> wrote:
> The attached match makes dmenu print out the input text as it is
> entered, rather than just the final selection.

> ... which gets you [the basics of] usable incremental search.

> \  Troels
> /\ Henriksen
Received on Fri May 07 2010 - 23:20:57 UTC

This archive was generated by hypermail 2.2.0 : Fri May 07 2010 - 23:24:02 UTC