]> Sergey Matveev's repositories - nnn.git/commitdiff
added ico format to imgview plugin
authorakimdi <akimdi@users.noreply.github.com>
Tue, 20 Apr 2021 01:00:30 +0000 (04:00 +0300)
committerGitHub <noreply@github.com>
Tue, 20 Apr 2021 01:00:30 +0000 (04:00 +0300)
plugins/imgview

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