Closed OBITORASU closed 2 years ago
@OBITORASU Hey thanks for pointing this out. Maybe there are some upstream changes in playerctl
that have changed the behavior.
I've merged the PR from @amirhossein-ka which adds the change in the polybar
config.
I was playing around with the scripts and my polybar config when I noticed that the playback modules tend to control the playback of my firefox media when I have spotify closed. This behavior seems unexpected since the playback is only supposed to control the playback of spotify media if and only if spotify is open. The solution is pretty simple, using
--player=spotify
instead of justspotify
for all theplayerctl
commands gives the expected results. I think the commands should be updated in thepolybar config
section of the readme. Do let me know your views.