mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
added support webp format (#652)
* added support webp format * update nuke plugin with support webp format
This commit is contained in:
parent
4b4bf6cca5
commit
6548a0fa7c
|
@ -18,7 +18,7 @@ abspath() {
|
||||||
|
|
||||||
listimages() {
|
listimages() {
|
||||||
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
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() {
|
view_dir() {
|
||||||
|
|
|
@ -254,7 +254,7 @@ abspath() {
|
||||||
|
|
||||||
listimages() {
|
listimages() {
|
||||||
find -L "$(dirname "$target")" -maxdepth 1 -type f -iregex \
|
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() {
|
load_dir() {
|
||||||
|
|
Loading…
Reference in a new issue