diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-02-03 00:10:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 00:10:58 +0900 |
| commit | 949046ffcb2817caf32bf82f06d5cdf3d57b1a40 (patch) | |
| tree | b33733a05816c25ed01b4fa7e2c89b816c615bcc /config/hypr/UserScripts/WallpaperRandom.sh | |
| parent | 9b67a8376e3d186edc75a482010e53c3b4e9e018 (diff) | |
| parent | c7fd362a7c2c69434890ed5edfcea58d32cfeb53 (diff) | |
Merge pull request #542 from JaKooLit/development
Development to Main
Diffstat (limited to 'config/hypr/UserScripts/WallpaperRandom.sh')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperRandom.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperRandom.sh b/config/hypr/UserScripts/WallpaperRandom.sh index 3c8c7520..1a5064e7 100755 --- a/config/hypr/UserScripts/WallpaperRandom.sh +++ b/config/hypr/UserScripts/WallpaperRandom.sh @@ -7,7 +7,7 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') -PICS=($(find ${wallDIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" \))) +PICS=($(find ${wallDIR} -type f \( -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -o -name "*.pnm" -o -name "*.tga" -o -name "*.tiff" -o -name "*.webp" -o -name "*.bmp" -o -name "*.farbfeld" -o -name "*.gif" \))) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]} ]} |
