aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2013-11-02 18:34:55 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-11-02 18:34:55 +0100
commitc795642c2ff03e451ecebae05f787933da5fa5ed (patch)
treece8a02fbd3653d938eb246d2d9e542a1b5043f21 /contrib
parent563cb6f5e85c50771cc859b02970148d5c416efb (diff)
downloadvicious-legacy-c795642c2ff03e451ecebae05f787933da5fa5ed.tar.xz
README: update awesome usage examples for v3.5
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/README b/contrib/README
index a3a6651..0523b66 100644
--- a/contrib/README
+++ b/contrib/README
@@ -107,9 +107,10 @@ vicious.contrib.buildbot
- it depends on lua json parser (e.g. liblua5.1-json on Ubuntu 12.04)
-Usage examples (for awesome v3.4)
+Usage examples
---------------------------------
Pulse Audio widget
+ vol = wibox.widget.textbox()
vicious.register(vol, vicious.contrib.pulse, " $1%", 2, "alsa_output.pci-0000_00_1b.0.analog-stereo")
vol:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("pavucontrol") end),
@@ -118,7 +119,7 @@ Pulse Audio widget
))
Buildbot widget
- local buildbotwidget = widget({ type = "textbox" })
+ buildbotwidget = wibox.widget.textbox()
local buildbotwidget_warg = {
{builder="coverage", url="http://buildbot.buildbot.net"},
{builder="tarball-slave", url="http://buildbot.buildbot.net"}