aboutsummaryrefslogtreecommitdiff
path: root/mpd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mpd.lua')
-rw-r--r--mpd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpd.lua b/mpd.lua
index 3b6df3f..73412eb 100644
--- a/mpd.lua
+++ b/mpd.lua
@@ -28,10 +28,10 @@ local function worker(format)
end
-- Sanitize the song name
- nowplaying = helpers.escape(np)
+ local nowplaying = helpers.escape(np)
-- Don't abuse the wibox, truncate
- nowplaying = helpers.truncate(nowplaying, 30)
+ local nowplaying = helpers.truncate(nowplaying, 30)
return {nowplaying}
end