spotify: specifically control Spotify with playerctl

This commit is contained in:
Vincent Bernat 2020-09-24 21:20:07 +02:00
parent e68f712c70
commit 7a6a4533b9

View file

@ -30,7 +30,7 @@ end
-- Send a command to spotify
local function cmd(command)
awful.util.spawn("playerctl " .. command, false)
awful.util.spawn("playerctl -p spotify " .. command, false)
end
-- Show spotify