diff --git a/blocks.def/volume_button.sh b/blocks.def/volume_button.sh index a7c00c7..92bde68 100755 --- a/blocks.def/volume_button.sh +++ b/blocks.def/volume_button.sh @@ -21,14 +21,14 @@ changeDefaultSink() { pactl set-default-sink $SINKHDMI if [ $? -ne 0 ]; then INDEX="$(pactl list short cards | grep alsa_card.pci-0000_01_00.1 | cut -d$'\t' -f1)" - pactl set-card-profile "$INDEX" output:analog-stereo + pactl set-card-profile "$INDEX" output:hdmi-stereo pactl set-default-sink $SINKHDMI fi elif [ "$SINK" = "$SINKHDMI" ]; then pactl set-default-sink $SINKANALOG if [ $? -ne 0 ]; then INDEX="$(pactl list short cards | grep alsa_card.pci-0000_00_1b.0 | cut -d$'\t' -f1)" - pactl set-card-profile "$INDEX" output:analog-stereo + pactl set-card-profile "$INDEX" output:analog-stereo+input:analog-stereo pactl set-default-sink $SINKANALOG fi fi