-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Description
I'm using the mpd widget with awesome 4
When a song title has an apostrophe it displays it as " & apos ; "
here's the code i'm using:
mpdwidget = lain.widgets.mpd({
settings = function()
artist = mpd_now.artist .. " "
title = mpd_now.title .. " "
if mpd_now.state == "pause" then
artist = " "
title = "paused "
elseif mpd_now.state == "stop" then
artist = ""
title = ""
end
widget:set_text(artist .. "- " .. title)
end
})
Metadata
Metadata
Assignees
Labels
No labels