summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2012-08-24 16:27:51 -0400
committerJune McEnroe <programble@gmail.com>2012-08-24 16:27:51 -0400
commit17c868477b6a324fde5172b5d45da8bd67dca150 (patch)
tree510219ca66a717aa3dd834448426f2a709fac96e
parentRemove pkgfile hook (diff)
downloadsrc-17c868477b6a324fde5172b5d45da8bd67dca150.tar.gz
src-17c868477b6a324fde5172b5d45da8bd67dca150.zip
Make awesome play nice with latest vicious
-rw-r--r--.config/awesome/rc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 5a71d92a..e2bec06c 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -3,7 +3,7 @@ require("awful.autofocus")
 require("awful.rules")
 require("beautiful")
 require("naughty")
-require("vicious")
+vicious = require("vicious")
 
 home = os.getenv("HOME")
 awesome_home = home .. "/.config/awesome"
@@ -126,7 +126,7 @@ vicious.register(wibox.mpd, vicious.widgets.mpd, function (widget, args)
         wibox.mpdicon.image = wibox.icons.play
     end
     return args["{Artist}"] .. " - " .. args["{Title}"]
-end, 5)
+end)
 
 for s = 1, screen.count() do
     wibox[s] = awful.wibox({ position = "top", screen = s, height = 16 })