case insensitive search for application name

This commit is contained in:
streetturtle 2017-07-24 14:27:02 -04:00 committed by GitHub
parent c9030cbe64
commit 89d363ec0c
1 changed files with 1 additions and 1 deletions

View File

@ -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]*'