Browse Source

List arguments for Sounds.sh

List arguments when no valid argument is given
pull/142/head
KKV9 2 years ago
parent
commit
b51fa27111
  1. 3
      config/hypr/UserScripts/Sounds.sh

3
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.

Loading…
Cancel
Save