aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-14 01:14:50 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-14 01:14:50 +0200
commit64464efbd4c7773540437f89c6aa5d69f87fcb4a (patch)
tree0544e91d66e0a500009bb1a2322f467e4e40b68f /README
parent11985f6aed7c50ee116a8691b0029bf2dd545acf (diff)
downloadvicious-legacy-64464efbd4c7773540437f89c6aa5d69f87fcb4a.tar.xz
README: removed obsolete widget names
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 6 insertions, 6 deletions
diff --git a/README b/README
index 11b10f6..6982299 100644
--- a/README
+++ b/README
@@ -291,14 +291,14 @@ registering widgets you have to add them to a wibox (statusbar) in
order to actually display them.
Date widget
- datewidget = widget({ type = 'textbox', name = 'datewidget' })
+ datewidget = widget({ type = 'textbox' })
vicious.register(datewidget, vicious.widgets.date, '%b %d, %R')
- updated every 2 seconds (the default interval), uses standard
date sequences as the format string
Memory widget
- memwidget = widget({ type = 'textbox', name = 'memwidget' })
+ memwidget = widget({ type = 'textbox' })
vicious.enable_caching(vicious.widgets.mem)
vicious.register(memwidget, vicious.widgets.mem, '$1 ($2MB/$3MB)', 13)
@@ -306,7 +306,7 @@ Memory widget
values and enables caching of this widget type
HDD temperature widget
- hddtempwidget = widget({ type = 'textbox', name = 'hddtempwidget' })
+ hddtempwidget = widget({ type = 'textbox' })
vicious.register(hddtempwidget, vicious.widgets.hddtemp, '${/dev/sda}°C', 19)
- updated every 19 seconds, requests the temperature level of the
@@ -314,7 +314,7 @@ HDD temperature widget
not provide the port argument so default port is used
Mbox widget
- mboxwidget = widget({ type = 'textbox', name = 'mboxwidget' })
+ mboxwidget = widget({ type = 'textbox' })
vicious.register(mboxwidget, vicious.widgets.mbox, '$1', 5, '/home/user/mail/Inbox')
- updated every 5 seconds, provides full path to the mbox as an
@@ -364,7 +364,7 @@ table with the values otherwise inserted into the format string as its
second argument, and should return the text to be used for the widget.
Example
- mpdwidget = widget({ type = 'textbox', name = 'mpdwidget' })
+ mpdwidget = widget({ type = 'textbox' })
vicious.register(mpdwidget,vicious.widgets.mpd,
function (widget, args)
if args[1] == "Stopped" then return ''
@@ -376,7 +376,7 @@ Example
2 seconds (the default interval)
Example
- uptimewidget = widget({ type = 'textbox', name = 'uptimewidget' })
+ uptimewidget = widget({ type = 'textbox' })
vicious.register(uptimewidget, vicious.widgets.uptime,
function (widget, args)
return string.format('Uptime: %2dd %02d:%02d ', args[2], args[3], args[4])