feat(custom): event based mediaplayer script

This commit is contained in:
Sibren Vasse
2018-11-22 15:48:52 +01:00
parent 8db94f7efd
commit c4c0c01a2f
3 changed files with 72 additions and 10 deletions

View File

@ -78,8 +78,6 @@
"custom/spotify": {
"format": " {}",
"max-length": 40,
"interval": 30, // Remove this if your script is endless and write in loop
"exec": "$HOME/.config/waybar/mediaplayer.sh 2> /dev/null", // Script in resources folder
"exec-if": "pgrep spotify"
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
}
}