aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/WallpaperSelect.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-03 00:10:58 +0900
committerGitHub <noreply@github.com>2025-02-03 00:10:58 +0900
commit949046ffcb2817caf32bf82f06d5cdf3d57b1a40 (patch)
treeb33733a05816c25ed01b4fa7e2c89b816c615bcc /config/hypr/UserScripts/WallpaperSelect.sh
parent9b67a8376e3d186edc75a482010e53c3b4e9e018 (diff)
parentc7fd362a7c2c69434890ed5edfcea58d32cfeb53 (diff)
Merge pull request #542 from JaKooLit/development
Development to Main
Diffstat (limited to 'config/hypr/UserScripts/WallpaperSelect.sh')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 6aa60804..7d6b339f 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -21,7 +21,7 @@ if pidof swaybg > /dev/null; then
fi
# Retrieve image files using null delimiter to handle spaces in filenames
-mapfile -d '' PICS < <(find "${wallDIR}" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" \) -print0)
+mapfile -d '' PICS < <(find "${wallDIR}" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.pnm" -o -iname "*.tga" -o -iname "*.tiff" -o -iname "*.webp" -o -iname "*.bmp" -o -iname "*.farbfeld" -o -iname "*.png" -o -iname "*.gif" \) -print0)
RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}"
RANDOM_PIC_NAME=". random"
@@ -106,5 +106,4 @@ wait $!
wait $!
sleep 2
-"$SCRIPTSDIR/Refresh.sh"
-
+"$SCRIPTSDIR/Refresh.sh" \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage