9 lines
269 B
Lua
9 lines
269 B
Lua
local naughty = require("naughty")
|
|
|
|
playerctl:connect_signal("metadata",
|
|
function(title, artist, album_path, album, new, player_name)
|
|
if new == true then
|
|
naughty.notify({title = title, text = artist, image = album_path})
|
|
end
|
|
end)
|