aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Sounds.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2024-06-03 03:43:07 +0900
committerJaKooLit <jimmielovejay@gmail.com>2024-06-03 03:43:07 +0900
commit7f08f094980e969f683fadb133e511c5aee93bd9 (patch)
treee37095adc9c543741525c8354c16f51ca54ccc7b /config/hypr/scripts/Sounds.sh
parent692fdccbdd304d81d588eab1256a44620a675050 (diff)
added error sound for screenshot not saved
Diffstat (limited to 'config/hypr/scripts/Sounds.sh')
-rwxr-xr-xconfig/hypr/scripts/Sounds.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/hypr/scripts/Sounds.sh b/config/hypr/scripts/Sounds.sh
index e19feea4..9ab9127d 100755
--- a/config/hypr/scripts/Sounds.sh
+++ b/config/hypr/scripts/Sounds.sh
@@ -26,8 +26,13 @@ elif [[ "$1" == "--volume" ]]; then
exit 0
fi
soundoption="audio-volume-change.*"
+elif [[ "$1" == "--error" ]]; then
+ if [[ "$muteScreenshots" = true ]]; then
+ exit 0
+ fi
+ soundoption="dialog-error.*"
else
- echo -e "Available sounds: --screenshot, --volume"
+ echo -e "Available sounds: --screenshot, --volume, --error"
exit 0
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage