diff --git a/.config/polybar/spotifyd-meta.sh b/.config/polybar/spotifyd-meta.sh index 049c81f..1ee20fe 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) && echo $metadata + metadata=$(playerctl -f "{{title}} - {{artist}}" metadata 2>/dev/null ) && echo $metadata } i=0