From 89d363ec0c09dfe3cba51a2c2d266006c6fd463a Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 24 Jul 2017 14:27:02 -0400 Subject: case insensitive search for application name --- spotify-widget/spotify_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spotify-widget') 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]*' -- cgit v1.2.3