diff options
| author | KKV9 <ciaranob.cob@gmail.com> | 2024-01-28 20:30:53 +0000 |
|---|---|---|
| committer | KKV9 <ciaranob.cob@gmail.com> | 2024-01-28 20:30:53 +0000 |
| commit | ed716d91bc6c4f5ebca9bbfb24ceba48137538cc (patch) | |
| tree | b27480c4f2010591a14731c9405e93d57bb5f8ba /config/hypr/UserScripts/Sounds.sh | |
| parent | 47101284b0b654eb0c83a1bd20725c7580eb87a0 (diff) | |
Use correct sound file for screen capture
Use screen-capture instead of camera-shutter for screenshots
Diffstat (limited to 'config/hypr/UserScripts/Sounds.sh')
| -rwxr-xr-x | config/hypr/UserScripts/Sounds.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
