Update spotify example to work on copy paste

This commit is contained in:
snehrbass 2022-02-02 00:01:18 -05:00 committed by GitHub
parent a0ee9e7fc1
commit c80cc873af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ $text\\n$tooltip\\n$class*
"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-if": "pgrep spotify",
"return-type": "json"
}
```