aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-07 04:10:57 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-07 04:10:57 +0100
commit5f41c7a23857cc52ea09b657cf190ff7ef02fdcc (patch)
tree4557ba2507de1b2d03d8bc18f96a07b6ac6b5e43 /README
parentee64644ddcec5b6a58a5b5e58477b2eb60588396 (diff)
downloadvicious-legacy-5f41c7a23857cc52ea09b657cf190ff7ef02fdcc.tar.xz
init: do not use keyword type for user data
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 3e0dd98..5f9ed2d 100644
--- a/README
+++ b/README
@@ -31,13 +31,13 @@ Then add the following to the top of your rc.lua:
Once you create a widget (a textbox, graph or a progressbar) call
vicious.register() to register it with vicious:
- vicious.register(widget, type, format, interval, warg)
+ vicious.register(widget, wtype, format, interval, warg)
widget
- widget created with widget() or awful.widget() (in case of a
graph or a progressbar)
- type
+ wtype
- one of the available widget types, see below for a list
format
@@ -78,7 +78,7 @@ Restart suspended widgets:
- if widget is provided only that widget will be activated
Enable caching of a widget type:
- vicious.cache(type)
+ vicious.cache(wtype)
- enable caching of values returned by a widget type