Skip to content

A gtk text entry thing with completion in awesomebar-style

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE
MIT
LICENSE-dmenu
Notifications You must be signed in to change notification settings

Dieterbe/awmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A gtk text entry thing with completion in awesomebar-style

Resources

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE
MIT
LICENSE-dmenu

Stars

Watchers

Forks

Releases

No releases published

Packages