diff options
| author | KKV9 <ciaranob.cob@gmail.com> | 2024-01-28 17:56:44 +0000 |
|---|---|---|
| committer | KKV9 <ciaranob.cob@gmail.com> | 2024-01-28 17:56:44 +0000 |
| commit | b51fa2711196eb7ed2e42cd899defd1d233afd89 (patch) | |
| tree | 4122d13ee5b86e26f664b3b0369a25f3e5e943da /config/hypr/UserScripts/Sounds.sh | |
| parent | 6b59626f6feaa690367bdb40c84eece6f1cd04c6 (diff) | |
List arguments for Sounds.sh
List arguments when no valid argument is given
Diffstat (limited to 'config/hypr/UserScripts/Sounds.sh')
| -rwxr-xr-x | config/hypr/UserScripts/Sounds.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/Sounds.sh b/config/hypr/UserScripts/Sounds.sh index d7f08e43..ef62e3f4 100755 --- a/config/hypr/UserScripts/Sounds.sh +++ b/config/hypr/UserScripts/Sounds.sh @@ -32,6 +32,9 @@ if [[ "$1" == "--shutter" ]]; then soundoption="camera-shutter.*" elif [[ "$1" == "--volume" ]]; then soundoption="audio-volume-change.*" +else + echo -e "Available sounds: --shutter, --volume" + exit 0 fi # Find the sound file and play it. |
