waybar config controls spotify only

This commit is contained in:
Benjamin Palko 2024-04-06 13:51:02 -05:00
parent 48cceb8af8
commit 320ef09010

View file

@ -91,7 +91,7 @@
}, },
"custom/spotify": { "custom/spotify": {
"format": "{}", "format": "{}",
"on-click": "playerctl play-pause", "on-click": "playerctl --player=spotify play-pause",
"exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify", "exec": "/usr/bin/python3 $HOME/.config/waybar/modules/mediaplayer.py --player spotify",
"return-type": "json", "return-type": "json",
"max-length": 40, "max-length": 40,