diff --git a/.scripts/dec-default-volume b/.scripts/dec-default-volume index 2fe400f..417c017 100755 --- a/.scripts/dec-default-volume +++ b/.scripts/dec-default-volume @@ -1,6 +1,6 @@ #!/bin/bash -default_loc=/tmp/pactl-default-source +default_loc=/tmp/pactl-default-sink if [ ! -f "$default_loc" ] ; then /home/solomon/.scripts/set-default-card diff --git a/.scripts/inc-default-volume b/.scripts/inc-default-volume index 96548f7..3f03891 100755 --- a/.scripts/inc-default-volume +++ b/.scripts/inc-default-volume @@ -1,6 +1,6 @@ #!/bin/bash -default_loc=/tmp/pactl-default-source +default_loc=/tmp/pactl-default-sink if [ ! -f "$default_loc" ] ; then /home/solomon/.scripts/set-default-card diff --git a/.scripts/set-sound-card b/.scripts/set-sound-card index 1c36ed8..1dd2a1a 100755 --- a/.scripts/set-sound-card +++ b/.scripts/set-sound-card @@ -1,6 +1,7 @@ #!/bin/bash -choice=$(pactl list short sinks | awk '{print $2}' | dmenu -i -p "which source should be default?") +choice=$(pactl list short sinks | awk '{print $2}' | dmenu -i -p "which sink should be default?") -rm /tmp/pactl-default-source --force # to ignore if it isn't there -echo "$choice" >> /tmp/pactl-default-source \ No newline at end of file +rm /tmp/pactl-default-sink --force # to ignore if it isn't there +echo "$choice" >> /tmp/pactl-default-sink +pactl set-default-sink $choice # make sure that the chosen sink is the \ No newline at end of file diff --git a/.scripts/toggle-default-mute b/.scripts/toggle-default-mute index 08c1477..758310a 100755 --- a/.scripts/toggle-default-mute +++ b/.scripts/toggle-default-mute @@ -1,6 +1,6 @@ #!/bin/bash -default_loc=/tmp/pactl-default-source +default_loc=/tmp/pactl-default-sink if [ ! -f "$default_loc" ] ; then /home/solomon/.scripts/set-default-card