Fix get-volume sub
This commit is contained in:
parent
02cc4ed11c
commit
fb1484e5ed
|
@ -12,6 +12,9 @@ getvolume() {
|
||||||
}
|
}
|
||||||
|
|
||||||
getvolume
|
getvolume
|
||||||
pactl subscribe | grep -E 'sink|source' | while read -r line; do
|
pactl subscribe | while read -r line; do
|
||||||
getvolume
|
if [[ "${line}" =~ sink|source ]]; then
|
||||||
|
echo 'it is'
|
||||||
|
getvolume
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue