diff --git a/dmenu-pulse-port-man b/dmenu-pulse-port-man index 2cbe037..ee2ca9b 100755 --- a/dmenu-pulse-port-man +++ b/dmenu-pulse-port-man @@ -21,7 +21,7 @@ programVolToggle () { [ -z "$inputSinks" ] && quick-notify "Program Master" "No Programs Inputing Sound" && exit - programSink=$(printf '%s' $inputSinks | dmenu -l 5 -p "Toggle volume: " | awk '{ print $2 }' | sed 's/#//') + programSink=$(printf '%s\n' "$inputSinks" | dmenu -p "Toggle volume: " | awk '{ print $2 }' | sed 's/#//') pactl set-sink-input-mute $programSink toggle }