aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Sounds.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-13 10:02:50 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-13 10:02:50 +0900
commitdd46262fdfaabebb6fd2213a9baec91dd4244086 (patch)
treefdeaac26b690363bebe9ce2854d3a4c13e2ab2cb /config/hypr/scripts/Sounds.sh
parentf46aee203c141f07692288f6053c35335c6c7faf (diff)
added -L on find command on some scripts to be more
https://github.com/JaKooLit/Hyprland-Dots/issues/553
Diffstat (limited to 'config/hypr/scripts/Sounds.sh')
-rwxr-xr-xconfig/hypr/scripts/Sounds.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/hypr/scripts/Sounds.sh b/config/hypr/scripts/Sounds.sh
index 9ab9127d..8b2cc76e 100755
--- a/config/hypr/scripts/Sounds.sh
+++ b/config/hypr/scripts/Sounds.sh
@@ -58,13 +58,13 @@ iTheme=$(cat "$sDIR/index.theme" | grep -i "inherits" | cut -d "=" -f 2)
iDIR="$sDIR/../$iTheme"
# Find the sound file and play it.
-sound_file=$(find $sDIR/stereo -name "$soundoption" -print -quit)
+sound_file=$(find -L $sDIR/stereo -name "$soundoption" -print -quit)
if ! test -f "$sound_file"; then
- sound_file=$(find $iDIR/stereo -name "$soundoption" -print -quit)
+ sound_file=$(find -L $iDIR/stereo -name "$soundoption" -print -quit)
if ! test -f "$sound_file"; then
- sound_file=$(find $userDIR/$defaultTheme/stereo -name "$soundoption" -print -quit)
+ sound_file=$(find -L $userDIR/$defaultTheme/stereo -name "$soundoption" -print -quit)
if ! test -f "$sound_file"; then
- sound_file=$(find $systemDIR/$defaultTheme/stereo -name "$soundoption" -print -quit)
+ sound_file=$(find -L $systemDIR/$defaultTheme/stereo -name "$soundoption" -print -quit)
if ! test -f "$sound_file"; then
echo "Error: Sound file not found."
exit 1
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage