dotfiles/.config/awesome/signals/playerctl.lua

18 lines
298 B
Lua
Raw Normal View History

local bling = require("lib.bling")
local playerctl = {}
local instance = nil
local function new()
return bling.signal.playerctl.lib({
update_on_activity = true,
player = { "mpd", "spotify", "%any", },
debounce_delay = 1,
})
end
if not instance then
instance = new()
end
return instance