mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
holo: &.-; fix
This commit is contained in:
parent
5108ca3bd5
commit
df4ecc92f6
|
@ -172,11 +172,13 @@ play_pause_icon:set_image(beautiful.play)
|
||||||
mpdwidget = lain.widgets.mpd({
|
mpdwidget = lain.widgets.mpd({
|
||||||
settings = function ()
|
settings = function ()
|
||||||
if mpd_now.state == "play" then
|
if mpd_now.state == "play" then
|
||||||
|
mpd_now.artist = mpd_now.artist:upper():gsub("&.-;", string.lower)
|
||||||
|
mpd_now.title = mpd_now.title:upper():gsub("&.-;", string.lower)
|
||||||
widget:set_markup(markup.font("Tamsyn 4", " ")
|
widget:set_markup(markup.font("Tamsyn 4", " ")
|
||||||
.. markup.font("Tamsyn 8",
|
.. markup.font("Tamsyn 8",
|
||||||
mpd_now.artist:upper():gsub("&", "&")
|
mpd_now.artist
|
||||||
.. " - " ..
|
.. " - " ..
|
||||||
mpd_now.title:upper():gsub("&", "&")
|
mpd_now.title
|
||||||
.. markup.font("Tamsyn 10", " ")))
|
.. markup.font("Tamsyn 10", " ")))
|
||||||
play_pause_icon:set_image(beautiful.pause)
|
play_pause_icon:set_image(beautiful.pause)
|
||||||
elseif mpd_now.state == "pause" then
|
elseif mpd_now.state == "pause" then
|
||||||
|
|
Loading…
Reference in a new issue