added support svg format

This commit is contained in:
akim 2021-04-07 19:31:53 +03:00
parent a44b23786f
commit 534aa355a1
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
}
view_dir() {

View file

@ -267,7 +267,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
'.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
'.*\(jpe?g\|bmp\|webp\|svg\|png\|gif\)$' -print0 | sort -z
}
load_dir() {