fixed spotify polybar metadata

This commit is contained in:
Niklas 2020-10-14 16:37:03 +02:00
parent 58d8e8fadd
commit f1980d9437

View File

@ -1,7 +1,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh
meta(){ 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 i=0