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 <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