aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGravatar akimdi <akimdi@users.noreply.github.com>2020-06-16 16:38:46 +0300
committerGravatar GitHub <noreply@github.com>2020-06-16 19:08:46 +0530
commit6548a0fa7c8657f079fbd85ee4aa3d93c309f9b1 (patch)
treeefe45b9dfe962171435b3137de7dedcf920e1859 /plugins
parent4b4bf6cca55e7f6710113e36c5ff8f776ca045a2 (diff)
downloadnnn-6548a0fa7c8657f079fbd85ee4aa3d93c309f9b1.tar.gz
added support webp format (#652)
* added support webp format * update nuke plugin with support webp format
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/imgview2
-rwxr-xr-xplugins/nuke2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imgview b/plugins/imgview
index d221f98..4bbff2d 100755
--- a/plugins/imgview
+++ b/plugins/imgview
@@ -18,7 +18,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
- '.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z
+ '.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
}
view_dir() {
diff --git a/plugins/nuke b/plugins/nuke
index 30cfe7a..2c47ce0 100755
--- a/plugins/nuke
+++ b/plugins/nuke
@@ -254,7 +254,7 @@ abspath() {
listimages() {
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
- '.*\(jpe?g\|bmp\|png\|gif\)$' -print0 | sort -z
+ '.*\(jpe?g\|bmp\|webp\|png\|gif\)$' -print0 | sort -z
}
load_dir() {