Browse Source

typo

pull/142/head
KKV9 2 years ago
parent
commit
628364022e
  1. 8
      config/hypr/UserScripts/Sounds.sh

8
config/hypr/UserScripts/Sounds.sh

@ -3,20 +3,20 @@
# This script is used to play system sounds. # This script is used to play system sounds.
theme="freedesktop" # Set the theme for the system sounds. theme="freedesktop" # Set the theme for the system sounds.
muted=false # Set to true to mute the system sounds. mute=false # Set to true to mute the system sounds.
# Mute individual sounds here. # Mute individual sounds here.
mutedScreenshots=false muteScreenshots=false
muteVolume=false muteVolume=false
# Exit if the system sounds are muted. # Exit if the system sounds are muted.
if [[ "$muted" = true ]]; then if [[ "$mute" = true ]]; then
exit 0 exit 0
fi fi
# Choose the sound to play. # Choose the sound to play.
if [[ "$1" == "--screenshot" ]]; then if [[ "$1" == "--screenshot" ]]; then
if [[ "$mutedScreenshots" = true ]]; then if [[ "$muteScreenshots" = true ]]; then
exit 0 exit 0
fi fi
soundoption="screen-capture.*" soundoption="screen-capture.*"

Loading…
Cancel
Save