You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
})
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: