playerctl bug fix

This commit is contained in:
Gokul Swami 2021-02-16 21:25:19 -08:00
parent a92a0d60ec
commit e56a2c2e69
1 changed files with 5 additions and 3 deletions

View File

@ -92,9 +92,11 @@ echo "$tmp_cover_path"
-- Get title and artist
local artist = line:match('artist_(.*)title_')
local title = line:match('title_(.*)')
if title and title ~= "" then
awesome.emit_signal(
"bling::playerctl::title_artist_album", title,
artist, album_path)
end
end)
end
})