awesome-wm-widgets/spotify-widget/spotify_stat

3 lines
129 B
Plaintext
Raw Normal View History

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