diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-08-27 14:38:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 14:38:08 +0000 |
commit | 13ca30d4d63023fe1dd9dceb356238583595e667 (patch) | |
tree | 85fd30bc799751907ec828c1be088f65f7ca9de9 /examples | |
parent | ed06faa056bcdbb32881958b99151896dfe41348 (diff) | |
download | ranger-13ca30d4d63023fe1dd9dceb356238583595e667.tar.gz |
change order of bmp
Co-authored-by: toonn <toonn@toonn.io>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rifle_sxiv.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index 8388fa10..f29c68a8 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -21,12 +21,12 @@ listfiles () { find -L "///${target%/*}" -maxdepth 1 -type f -iregex \ - '.*\(jpe?g\|bmp\|png\|gif\|webp\)$' -print0 | sort -z + '.*\(jpe?g\|png\|gif\|webp\|bmp\)$' -print0 | sort -z } is_img () { case "${1##*.}" in - "jpg"|"jpeg"|"bmp"|"png"|"gif"|"webp") return 0 ;; + "jpg"|"jpeg"|"png"|"gif"|"webp"|"bmp") return 0 ;; *) return 1 ;; esac } |