aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
authorKKV9 <ciaranob.cob@gmail.com>2024-01-28 17:56:44 +0000
committerKKV9 <ciaranob.cob@gmail.com>2024-01-28 17:56:44 +0000
commitb51fa2711196eb7ed2e42cd899defd1d233afd89 (patch)
tree4122d13ee5b86e26f664b3b0369a25f3e5e943da /config/hypr/UserScripts
parent6b59626f6feaa690367bdb40c84eece6f1cd04c6 (diff)
List arguments for Sounds.sh
List arguments when no valid argument is given
Diffstat (limited to 'config/hypr/UserScripts')
-rwxr-xr-xconfig/hypr/UserScripts/Sounds.sh3
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.
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage