]> Sergey Matveev's repositories - nnn.git/commitdiff
added support svg format
authorakim <akimdi@users.noreply.github.com>
Wed, 7 Apr 2021 16:31:53 +0000 (19:31 +0300)
committerakim <akimdi@users.noreply.github.com>
Wed, 7 Apr 2021 16:31:53 +0000 (19:31 +0300)
plugins/imgview
plugins/nuke

index daa08452d2f3d37623878c28efc1bd74a7396ae9..3e1afe2de8e62cadb34d35f024411d76349f051c 100755 (executable)
@@ -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() {
index 8a2665f7702943ea7a24333cff2af943fee7e343..6967e5b4cb4045a5bb5dd84621292943a04d183e 100755 (executable)
@@ -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() {