diff --git a/bin/volume b/bin/volume index c9af288..9656fc0 100755 --- a/bin/volume +++ b/bin/volume @@ -1,5 +1,5 @@ #!/bin/bash -sink=$(pactl list sinks | grep -B 1 "State: RUNNING" | grep -oE '[0-9]*') +sink=$(pacmd list-sinks | grep "* index" | grep -oE '[0-9]*') cmd="" if [ -z "$sink" ]; then