alias for unmuting the current audio device

This commit is contained in:
MorganGeek
2020-07-23 07:28:17 +02:00
parent f9d012072d
commit b68120da30
2 changed files with 2 additions and 0 deletions

@ -198,6 +198,7 @@ function switch_device() {
if SwitchAudioSource -a | grep "$target_device" 1>/dev/null; then
if SwitchAudioSource -s "$1" 1>/dev/null; then
success "switched to $target_device"
unmute
else
error "failed to switch to $target_device"
fi