Merge branch 'master' of github.com:Nooo37/bling into docs

This commit is contained in:
Gokul Swami 2021-02-16 21:25:35 -08:00
commit b58be9a81f
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_(.*)')
awesome.emit_signal(
"bling::playerctl::title_artist_album", title,
artist, album_path)
if title and title ~= "" then
awesome.emit_signal(
"bling::playerctl::title_artist_album", title,
artist, album_path)
end
end)
end
})