diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-06-03 05:39:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 05:39:34 +0900 |
| commit | 203b530e6b61e53cff322fd822dc70a5e611b35f (patch) | |
| tree | f300fec9ff254263a9805dc18feaee14ff1d542a /config/hypr/scripts/Sounds.sh | |
| parent | 2e67eba3d18ef4d7ca74b2036a0ec0020825bc86 (diff) | |
| parent | d62b220ebc2c60c2f11e47f35616d9e803c07dd4 (diff) | |
Merge pull request #321 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/scripts/Sounds.sh')
| -rwxr-xr-x | config/hypr/scripts/Sounds.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/hypr/scripts/Sounds.sh b/config/hypr/scripts/Sounds.sh index e19feea4..9ab9127d 100755 --- a/config/hypr/scripts/Sounds.sh +++ b/config/hypr/scripts/Sounds.sh @@ -26,8 +26,13 @@ elif [[ "$1" == "--volume" ]]; then exit 0 fi soundoption="audio-volume-change.*" +elif [[ "$1" == "--error" ]]; then + if [[ "$muteScreenshots" = true ]]; then + exit 0 + fi + soundoption="dialog-error.*" else - echo -e "Available sounds: --screenshot, --volume" + echo -e "Available sounds: --screenshot, --volume, --error" exit 0 fi |
