Dieterbe / awmenu

A gtk text entry thing with completion in awesomebar-style

This URL has Read+Write access

awmenu /
name age message
file .gitignore Sun May 03 07:38:21 -0700 2009 first draft of awmenu [Dieterbe]
file LICENSE Sun May 03 07:38:21 -0700 2009 first draft of awmenu [Dieterbe]
file LICENSE-dmenu Sun May 03 09:05:41 -0700 2009 basic version with simple completion working [Dieterbe]
file Makefile Sun May 03 09:05:41 -0700 2009 basic version with simple completion working [Dieterbe]
file README Wed May 13 12:06:08 -0700 2009 performance thoughts [Dieterbe]
file awmenu.c Wed May 13 12:06:45 -0700 2009 better default layout [Dieterbe]
file test.sh Wed May 13 12:06:45 -0700 2009 better default layout [Dieterbe]
README
This thingie takes the best ideas from different tools and brings them
together:

* dmenu is great for "selecting things" but it's matching is not very smart, it does not support copy/paste and it's not 
always convenient if you want a string that is not in the list
* zenity is a nice tool but does not support text completion, nor advanced completion
* firefox has a great matching system in their "awesomebar" but it's not a reusable component.

Awmenu takes the basic idea from dmenu (pipe stuff into stdin, let user pick something, echo result on stdout) but 
implements it in Gtk to overcome some of the
limitations, and applies awesome-like matching.


Possible performance bottlenecks:
- I think (?) glib will reapply the filter function on all elements when you add characters, this is not needed (only 
need to apply it on the subset, and in fact, you don't even need to apply the new filter, just match for the new last 
word)
- applying the filter and formatting the entries are 2 different steps, even though they share some logic