diff options
Diffstat (limited to '.local/bin/cwall')
-rwxr-xr-x | .local/bin/cwall | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.local/bin/cwall b/.local/bin/cwall index 58a5f7e..ad985a9 100755 --- a/.local/bin/cwall +++ b/.local/bin/cwall @@ -42,13 +42,14 @@ randimg() img= while :; do img="$(find "$1" \ - -name "*.webp" \ - -o -name "*.jpeg" \ - -o -name "*.jpg" \ - -o -name "*.png" \ - -o -name "*.heif" \ - -o -name "*.heic" \ - -o -name "*.avif" | shuf -n1)" + -iname "*.avif" \ + -o -iname "*.heic" \ + -o -iname "*.heif" \ + -o -iname "*.jpeg" \ + -o -iname "*.jpg" \ + -o -iname "*.jxl" \ + -o -iname "*.png" \ + -o -iname "*.webp" | shuf -n1)" [ -z "$img" ] && break; |