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