diff --git a/src/.local/bin/deskutils/notification-sound.sh b/src/.local/bin/deskutils/notification-sound.sh index a6db465..f8a1683 100755 --- a/src/.local/bin/deskutils/notification-sound.sh +++ b/src/.local/bin/deskutils/notification-sound.sh @@ -2,4 +2,8 @@ # Dunst notification sound script. -mpv ~/.local/bin/deskutils/notif.wav +if pactl list short sinks | grep -q virtual_mic; then + mpv ~/.local/bin/deskutils/notif.wav --audio-device=pulse/c1_out +else + mpv ~/.local/bin/deskutils/notif.wav +fi