From ed716d91bc6c4f5ebca9bbfb24ceba48137538cc Mon Sep 17 00:00:00 2001 From: KKV9 Date: Sun, 28 Jan 2024 20:30:53 +0000 Subject: Use correct sound file for screen capture Use screen-capture instead of camera-shutter for screenshots --- config/hypr/UserScripts/Sounds.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/UserScripts/Sounds.sh') diff --git a/config/hypr/UserScripts/Sounds.sh b/config/hypr/UserScripts/Sounds.sh index a2523a24..9aaafcf0 100755 --- a/config/hypr/UserScripts/Sounds.sh +++ b/config/hypr/UserScripts/Sounds.sh @@ -15,18 +15,18 @@ if [[ "$muted" = true ]]; then fi # Choose the sound to play. -if [[ "$1" == "--shutter" ]]; then +if [[ "$1" == "--screenshot" ]]; then if [[ "$mutedScreenshots" = true ]]; then exit 0 fi - soundoption="camera-shutter.*" + soundoption="screen-capture.*" elif [[ "$1" == "--volume" ]]; then if [[ "$muteVolume" = true ]]; then exit 0 fi soundoption="audio-volume-change.*" else - echo -e "Available sounds: --shutter, --volume" + echo -e "Available sounds: --screenshot, --volume" exit 0 fi -- cgit v1.2.3