THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#591 - Rewrite awful.menu using widget layout
User who did this - dodo (dodo)

----------
i don't know if this is still needed, but i wrote a rewrite of awful.menu

https://github.com/dodo/uzful/blob/master/menu/rewrite.lua

if you like i can generate a patch for you.

there are currently some dirty hacks in it:
- i doesn't found a possibility to get the full size of all widgets in a layout 
or the position of a widget in a layout
 so i 'hard-coded' it → 
https://github.com/dodo/uzful/blob/master/menu/rewrite.lua#L141https://github.com/dodo/uzful/blob/master/menu/rewrite.lua#L103
- i added code to the wibox.widget.background widget to set the foreground 
color (not really dirty i guess :p)
- xpm images causing errors → disabled: 
https://github.com/dodo/uzful/blob/master/menu/rewrite.lua#L494

new features:
- cleaner code (i suppose)
- better theme inheritance for menus
- menu entries are theme-able
- user can build his own menu entry constructor (so different menu entries are 
possible)
- only one wibox per menu will be used
- menu entry cmd function gets the menu and menu entry as arguments (so 
changing the menu or menu entry by clicking it is possible)
- menu entries are deletable (even by user)
- menu entries are addable (even by user)

i hope it fulfills your needs.
feel free to point out any critism.
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=591#comment2554

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to