Add script to check if spotify is playing music
This commit is contained in:
parent
c93d1e6f48
commit
4444a75813
|
@ -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]*'
|
Loading…
Reference in New Issue