mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-27 06:20:15 +01:00
feat: make music part only update when rmpc sends a signal to waybar
This commit is contained in:
parent
5651c9f276
commit
3bf723fc46
1 changed files with 3 additions and 2 deletions
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue