feat: make music part only update when rmpc sends a signal to waybar

This commit is contained in:
Ahwx 2025-12-26 20:16:42 +01:00
parent 5651c9f276
commit 3bf723fc46

View file

@ -109,11 +109,12 @@
}, },
"custom/music": { "custom/music": {
"interval": 5, "interval": "once",
"return-type": "json", "return-type": "json",
"exec": "~/.local/bin/waybar-music", "exec": "~/.local/bin/waybar-music",
"on-click": "playerctl play-pause", "on-click": "playerctl play-pause",
"escape": true "escape": true,
"signal": 2
}, },
"custom/devices": { "custom/devices": {