diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2017-07-24 14:27:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 14:27:02 -0400 |
commit | 89d363ec0c09dfe3cba51a2c2d266006c6fd463a (patch) | |
tree | 0a8044d6520885887432a70afdfbc99c7a98573f | |
parent | c9030cbe64ecae963f4134c29a67a29dd349dc8e (diff) |
case insensitive search for application name
-rwxr-xr-x | spotify-widget/spotify_stat | 2 |
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]*' |