dotfiles/dot_config/awesome/signals/playerctl.lua
2024-04-14 18:41:15 -07:00

17 lines
280 B
Lua

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