Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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