summaryrefslogtreecommitdiff
path: root/spotify-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2017-07-24 14:27:02 -0400
committerGitHub <noreply@github.com>2017-07-24 14:27:02 -0400
commit89d363ec0c09dfe3cba51a2c2d266006c6fd463a (patch)
tree0a8044d6520885887432a70afdfbc99c7a98573f /spotify-widget
parentc9030cbe64ecae963f4134c29a67a29dd349dc8e (diff)
case insensitive search for application name
Diffstat (limited to 'spotify-widget')
-rwxr-xr-xspotify-widget/spotify_stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/spotify-widget/spotify_stat b/spotify-widget/spotify_stat
index 175ca2d..b4d4783 100755
--- a/spotify-widget/spotify_stat
+++ b/spotify-widget/spotify_stat
@@ -1,2 +1,2 @@
#!/bin/sh
-pacmd list-sink-inputs | grep -e 'state:' -e 'application.name' | grep -B 1 spotify | grep -P -o '(?<=: )[A-Za-z]*'
+pacmd list-sink-inputs | grep -e 'state:' -e 'application.name' | grep -B 1 -i spotify | grep -P -o '(?<=: )[A-Za-z]*'