fix spotify

This commit is contained in:
Daniel Bulant 2024-08-26 11:04:17 +02:00
parent 0798ae887d
commit 91c76659fc
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -66,9 +66,9 @@
// "format-alt": "{alt}",
},
"custom/spotify": {
"exec": "bash ~/.config/waybar/album_art.sh",
"exec": "bash ~/.config/waybar/spotify-meta.sh",
"format": "{}",
"return-type": "json",
//"return-type": "json",
"on-click": "playerctl play-pause",
"interval": 10
},

View file

@ -0,0 +1,2 @@
#!/bin/bash
playerctl metadata --format "{{artist}} - {{title}}"