about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-08-27 20:39:01 +0600
committerNRK <nrk@disroot.org>2021-08-27 20:39:01 +0600
commit1587046cd89cb2741474f0cc256285302cc75d19 (patch)
treee050b06134aa7fc36cc52e53c054c1ce3f799a17 /examples
parent13ca30d4d63023fe1dd9dceb356238583595e667 (diff)
downloadranger-1587046cd89cb2741474f0cc256285302cc75d19.tar.gz
sxiv-rifle: add tiff support
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/rifle_sxiv.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index f29c68a8..ba232916 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\|png\|gif\|webp\|bmp\)$' -print0 | sort -z
+      '.*\(jpe?g\|png\|gif\|webp\|tiff\|bmp\)$' -print0 | sort -z
 }
 
 is_img () {
     case "${1##*.}" in
-        "jpg"|"jpeg"|"png"|"gif"|"webp"|"bmp") return 0 ;;
+        "jpg"|"jpeg"|"png"|"gif"|"webp"|"tiff"|"bmp") return 0 ;;
         *) return 1 ;;
     esac
 }