yazi: upgrade
This commit is contained in:
@@ -23,7 +23,6 @@ max_height = 900
|
||||
cache_dir = ""
|
||||
image_filter = "triangle"
|
||||
image_quality = 75
|
||||
sixel_fraction = 15
|
||||
ueberzug_scale = 1
|
||||
ueberzug_offset = [0, 0, 0, 0]
|
||||
|
||||
@@ -57,7 +56,7 @@ play = [
|
||||
[open]
|
||||
rules = [
|
||||
# Folder
|
||||
{ name = "*/", use = ["edit", "open", "reveal"] },
|
||||
{ url = "*/", use = ["edit", "open", "reveal"] },
|
||||
# Text
|
||||
{ mime = "text/*", use = ["edit", "reveal"] },
|
||||
# Image
|
||||
@@ -73,7 +72,7 @@ rules = [
|
||||
# Empty file
|
||||
{ mime = "inode/empty", use = ["edit", "reveal"] },
|
||||
# Fallback
|
||||
{ name = "*", use = ["edit", "open", "reveal"] },
|
||||
{ url = "*", use = ["edit", "open", "reveal"] },
|
||||
]
|
||||
|
||||
[tasks]
|
||||
@@ -87,9 +86,10 @@ suppress_preload = false
|
||||
[plugin]
|
||||
fetchers = [
|
||||
# Mimetype
|
||||
{ id = "mime", name = "*", run = "mime", if = "!mime", prio = "high" },
|
||||
{ id = "git", name = "*", run = "git", prio = "normal" },
|
||||
{ id = "git", name = "*/", run = "git", prio = "normal" },
|
||||
{ id = "mime", url = "*/", run = "mime.dir", prio = "high" },
|
||||
{ id = "mime", url = "*", run = "mime.local", if = "!mime", prio = "high" },
|
||||
{ id = "git", url = "*", run = "git", prio = "normal" },
|
||||
{ id = "git", url = "*/", run = "git", prio = "normal" },
|
||||
]
|
||||
preloaders = [
|
||||
# Image
|
||||
@@ -104,7 +104,7 @@ preloaders = [
|
||||
{ mime = "application/vnd.ms-opentype", run = "font" },
|
||||
]
|
||||
previewers = [
|
||||
{ name = "*/", run = "folder", sync = true },
|
||||
{ url = "*/", run = "folder", sync = true },
|
||||
# Code
|
||||
{ mime = "text/*", run = "code" },
|
||||
{ mime = "*/{xml,javascript,x-wine-extension-ini}", run = "code" },
|
||||
@@ -126,7 +126,7 @@ previewers = [
|
||||
# Empty file
|
||||
{ mime = "inode/x-empty", run = "empty" },
|
||||
# Fallback
|
||||
{ name = "*", run = "file" },
|
||||
{ url = "*", run = "file" },
|
||||
]
|
||||
|
||||
[input]
|
||||
|
||||
Reference in New Issue
Block a user