You are not logged in.

#1 2009-05-03 19:07:43

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Awmenu: dmenu's kissness + gtk's completion bar +FF's awesome matching

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.

http://github.com/Dieterbe/awmenu

To test, run make test.
You'll see that for example "en aa" will match "'aa this is entry1".

It's not 100% done yet.  The matching works, but the hilighting/markup of the entries in the list is not correct yet.

Last edited by Dieter@be (2009-05-03 19:08:43)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#2 2009-05-03 19:18:05

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Awmenu: dmenu's kissness + gtk's completion bar +FF's awesome matching

Awesome!

Offline

#3 2009-05-12 20:20:12

IdoMcFly
Member
Registered: 2007-12-18
Posts: 28

Re: Awmenu: dmenu's kissness + gtk's completion bar +FF's awesome matching

I love the idea! If you can make the stuff to be like dmenu in its visual style (slick small bar) i think it will be really a must have!

Offline

#4 2009-05-13 10:41:46

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Awmenu: dmenu's kissness + gtk's completion bar +FF's awesome matching

Cool.

Though it segfaults if...

ls /usr/bin|./awmenu

Then type so<TAB>f

Offline

#5 2009-05-14 19:34:26

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: Awmenu: dmenu's kissness + gtk's completion bar +FF's awesome matching

@iphitus. yeah there are still some bugs in it. I noticed yesterday the matching doesn't even work as intended.  D'oh.

'm considering dropping this, because the dmenu-vertical patch is already close to what i want to achieve and is more minimalist.  (See http://bbs.archlinux.org/viewtopic.php? … 1#p553341)

Last edited by Dieter@be (2009-05-14 19:34:41)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB