Waybar: Add click actions to spotifyd module

This commit is contained in:
the_4n0nym0u53 2022-02-04 14:55:42 +01:00
parent 385e18ebc4
commit b331a0b241
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB

View file

@ -113,7 +113,9 @@
"escape": true, "escape": true,
"interval": 1, "interval": 1,
"exec-if": "pgrep '^spotifyd$'", "exec-if": "pgrep '^spotifyd$'",
"exec": "$HOME/.config/waybar/spotifyd.sh 2> /dev/null" "exec": "$HOME/.config/waybar/spotifyd.sh 2> /dev/null",
"on-click": "playerctl play-pause -p 'spotifyd'",
"on-click-right": "pkill '^spotifyd$'"
}, },
"custom/ivpn": { // Custom status module for IVPN "custom/ivpn": { // Custom status module for IVPN
"format": "{} IVPN", "format": "{} IVPN",