diff options
author | NRK <nrk@disroot.org> | 2021-09-08 03:51:51 +0600 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2021-09-08 03:51:51 +0600 |
commit | 08e1a5b2279c69aedd06eaec20240c8216b9bdb8 (patch) | |
tree | aecdfc15cc78e4f9015a36b94ef7b22b316fd69b /examples | |
parent | 1587046cd89cb2741474f0cc256285302cc75d19 (diff) | |
download | ranger-08e1a5b2279c69aedd06eaec20240c8216b9bdb8.tar.gz |
sxiv-rifle: only list extensions
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rifle_sxiv.sh | 2 |
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 () { |