mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(Custom): handle continuous script
This commit is contained in:
@ -62,6 +62,7 @@
|
||||
"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", // Script in resources folder
|
||||
"exec-if": "pgrep spotify"
|
||||
}
|
||||
|
Reference in New Issue
Block a user