diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-01 16:38:59 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-01 16:38:59 +0900 |
| commit | 3aca5b0b7147d9d2c58091f3d229566b6dd778a3 (patch) | |
| tree | 468f4c4e3a237d1403ff0a24cf93170d6a123070 /config/hypr/UserScripts/WallpaperSelect.sh | |
| parent | bcd2e9fe3c3bc2891456e79d82bc127d4c8f9e06 (diff) | |
updated wallpaper scripts to accept more images supported by swww
Diffstat (limited to 'config/hypr/UserScripts/WallpaperSelect.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 6aa60804..5fc1e1a4 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" |
