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