From 5a0673f70387de74baa1a9a67b6061dafa261fca Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 12 May 2024 14:16:40 +0900 Subject: [PATCH] adding fallback to sound.sh --- config/hypr/scripts/Sounds.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/hypr/scripts/Sounds.sh b/config/hypr/scripts/Sounds.sh index a749114..e19feea 100755 --- a/config/hypr/scripts/Sounds.sh +++ b/config/hypr/scripts/Sounds.sh @@ -67,4 +67,6 @@ if ! test -f "$sound_file"; then fi fi fi -pw-play "$sound_file" \ No newline at end of file + +# pipewire priority, fallback pulseaudio +pw-play "$sound_file" || pa-play "$sound_file" \ No newline at end of file