about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-08 03:51:51 +0600
committerNRK <nrk@disroot.org>2021-09-08 03:51:51 +0600
commit08e1a5b2279c69aedd06eaec20240c8216b9bdb8 (patch)
treeaecdfc15cc78e4f9015a36b94ef7b22b316fd69b /examples
parent1587046cd89cb2741474f0cc256285302cc75d19 (diff)
downloadranger-08e1a5b2279c69aedd06eaec20240c8216b9bdb8.tar.gz
sxiv-rifle: only list extensions
Diffstat (limited to 'examples')
-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 ba232916..10a473fc 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\|png\|gif\|webp\|tiff\|bmp\)$' -print0 | sort -z
+      '.*\.\(jpe?g\|png\|gif\|webp\|tiff\|bmp\)$' -print0 | sort -z
 }
 
 is_img () {