From f1980d9437f5626ff8c34a105df277363f03c986 Mon Sep 17 00:00:00 2001 From: Niklas Date: Wed, 14 Oct 2020 16:37:03 +0200 Subject: [PATCH] fixed spotify polybar metadata --- .config/polybar/spotifyd-meta.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/spotifyd-meta.sh b/.config/polybar/spotifyd-meta.sh index 1ee20fe..634cf4e 100755 --- a/.config/polybar/spotifyd-meta.sh +++ b/.config/polybar/spotifyd-meta.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh meta(){ - metadata=$(playerctl -f "{{title}} - {{artist}}" metadata 2>/dev/null ) && echo $metadata + metadata=$(playerctl --player=spotify,%any -f "{{title}} - {{artist}}" metadata 2>/dev/null ) && echo $metadata } i=0