summaryrefslogtreecommitdiff
path: root/spotify-widget/spotify_stat
blob: b4d4783dde16ea05c901062584be846a80c8b3c4 (plain)
1
2
#!/bin/sh
pacmd list-sink-inputs | grep -e 'state:' -e 'application.name' | grep -B 1 -i spotify | grep -P -o '(?<=: )[A-Za-z]*'