From 08e1a5b2279c69aedd06eaec20240c8216b9bdb8 Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 8 Sep 2021 03:51:51 +0600 Subject: sxiv-rifle: only list extensions --- examples/rifle_sxiv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { -- cgit 1.4.1-2-gfad0