From 7ec8f2f2f801bfe0ac1996d4101bc60f47f33f14 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 2 Oct 2009 22:46:12 +0200 Subject: 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. --- README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index b768b1f..3464313 100644 --- a/README +++ b/README @@ -51,7 +51,7 @@ vicious.register() to register it with vicious: the battery ID -Other Functions +Other functions --------------- Unregister a widget: @@ -338,6 +338,14 @@ picture: http://git.sysphere.org/awesome-configs/tree/rc.lua?id=9abcf6c +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 ----- Also read "awesome" manual pages: -- cgit v1.2.3