diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 781d477..ceda04b 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -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 }, diff --git a/.config/waybar/spotify-meta.sh b/.config/waybar/spotify-meta.sh new file mode 100644 index 0000000..f213f5e --- /dev/null +++ b/.config/waybar/spotify-meta.sh @@ -0,0 +1,2 @@ +#!/bin/bash +playerctl metadata --format "{{artist}} - {{title}}" \ No newline at end of file