README: included 'Other uses' section
Vicious modules can be resued for other objects, like awful tooltips or naughty notifications. We call a module directly and manipulate the result until we have some nice output to display. For example, a wifi widget could be a progressbar with the signal level, but on mouse enter a tooltip is created with ssid/mode/channel information.
This commit is contained in:
parent
9d518b83a9
commit
0d5f07b86e
10
README
10
README
|
@ -49,7 +49,7 @@ vicious.register() to register it with vicious:
|
||||||
the battery ID
|
the battery ID
|
||||||
|
|
||||||
|
|
||||||
Other Functions
|
Other functions
|
||||||
---------------
|
---------------
|
||||||
Unregister a widget:
|
Unregister a widget:
|
||||||
|
|
||||||
|
@ -328,6 +328,14 @@ picture:
|
||||||
http://git.sysphere.org/awesome-configs/
|
http://git.sysphere.org/awesome-configs/
|
||||||
|
|
||||||
|
|
||||||
|
Other uses
|
||||||
|
----------
|
||||||
|
You can reuse Vicious modules for objects other than widgets. Maybe
|
||||||
|
you want to populate an awful tooltip or a naughty notification? Call
|
||||||
|
a module directly and manipulate the result however you want, until
|
||||||
|
you have some nicely formatted data suitable for display.
|
||||||
|
|
||||||
|
|
||||||
Other
|
Other
|
||||||
-----
|
-----
|
||||||
Also read "awesome" manual pages:
|
Also read "awesome" manual pages:
|
||||||
|
|
Loading…
Reference in New Issue