Waybar: Add click actions to spotifyd module
This commit is contained in:
parent
385e18ebc4
commit
b331a0b241
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue