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