diff --git a/spotify-widget/spotify_stat b/spotify-widget/spotify_stat new file mode 100755 index 0000000..175ca2d --- /dev/null +++ b/spotify-widget/spotify_stat @@ -0,0 +1,2 @@ +#!/bin/sh +pacmd list-sink-inputs | grep -e 'state:' -e 'application.name' | grep -B 1 spotify | grep -P -o '(?<=: )[A-Za-z]*'