about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-08-08 17:22:34 +0600
committerNRK <nrk@disroot.org>2021-08-09 04:21:15 +0600
commitdc791089695a110623d9ca9ec84c9c39b6e31182 (patch)
treedad3e8ca879e14c03818327e41a4e6a8b5e21c62
parente3a98d51be122294d5792347358f9d6f3e17a8c1 (diff)
downloadranger-dc791089695a110623d9ca9ec84c9c39b6e31182.tar.gz
rifle_sxiv: add webp to listfiles()
-rwxr-xr-xexamples/rifle_sxiv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index 866dd730..ba429e8d 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -21,7 +21,7 @@
 
 listfiles () {
     find -L "${target%/*}" -maxdepth 1 -type f -iregex \
-      '.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z
+      '.*\(jpe?g\|bmp\|png\|gif\|webp\)$' -print0 | sort -z
 }
 
 [ "$1" = '--' ] && shift