summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2012-08-24 16:27:51 -0400
committerJune McEnroe <june@causal.agency>2012-08-24 16:27:51 -0400
commit3a2a3ddc6526f6e519b96767661fd192fabed26f (patch)
tree4756bb1def31ecd4f8b2779f6e7fce8fdea8d3ea
parentRemove pkgfile hook (diff)
downloadsrc-3a2a3ddc6526f6e519b96767661fd192fabed26f.tar.gz
src-3a2a3ddc6526f6e519b96767661fd192fabed26f.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 })