pulseaudio-tail: fix grep ouput
This commit is contained in:
parent
42347e8662
commit
229adb3970
@ -17,7 +17,7 @@ volume_mute() {
|
||||
volume_print() {
|
||||
if pacmd list-sinks | grep active | head -n 1 | grep -q speaker; then
|
||||
icon="#1"
|
||||
elif pacmd list-sinks | grep active | head -n 1 | grep headphones; then
|
||||
elif pacmd list-sinks | grep active | head -n 1 | grep -q headphones; then
|
||||
icon="#2"
|
||||
else
|
||||
icon="#3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user