deleted clipcascade, updated yazi

This commit is contained in:
liph committed 2026-08-29 22:55:55 +02:00
1 parent 4ff0615bac
commit 4327b8ce0e
54 files changed
+1726 -6768

No files matched your search

+31 -7
View File
@@ -12,7 +12,7 @@ sort_dir_first = true
sort_translit = false
sort_fallback = "alphabetical"
linemode = "none"
show_hidden = false
show_hidden = true
show_symlink = true
scrolloff = 5
mouse_events = ["click", "scroll", "drag"]
@@ -20,8 +20,8 @@ mouse_events = ["click", "scroll", "drag"]
[preview]
wrap = "no"
tab_size = 2
max_width = 600
max_height = 900
max_width = 800
max_height = 1200
cache_dir = ""
image_delay = 30
image_filter = "triangle"
@@ -143,10 +143,14 @@ fetchers = [
]
prepend_fetchers = [
#####################################################################
### git ###
#####################################################################
{ url = "*", run = "git", group = "git" },
{ url = "*/", run = "git", group = "git" },
#####################################################################
### mime-ext ###
#####################################################################
{ url = "local://*", run = "mime-ext.local", prio = "high", group = "mime" },
{ url = "remote://*", run = "mime-ext.remote", prio = "high", group = "mime" },
]
@@ -195,7 +199,15 @@ preloaders = [
]
prepend_preloaders = [
#####################################################################
### piper ###
#####################################################################
{ url = "*.md", run = 'faster-piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dracula -- "$1"' },
{ url = "*.tar*", run = 'faster-piper -- tar tf "$1"' },
{ url = "*.txt.gz", run = 'faster-piper -- gzip -dc "$1"' },
#####################################################################
### mediainfo ###
#####################################################################
# Replace magick, image, video with mediainfo
{ mime = "{audio,video,image}/*", run = "mediainfo" },
# .srt subtitle, adobe illustrator, adobe photoshop file
@@ -247,29 +259,41 @@ previewers = [
{ mime = "trash/**", run = "trash" },
# Error
{ mime = "null/*", run = "null" },
# # Fallback
# { url = "*", run = "file" },
# Fallback
{ url = "*", run = "file" },
]
append_previewers = [
#####################################################################
### extra-metadata ###
#####################################################################
{ url = "*", run = "file-extra-metadata" },
# Setup keybind for spotter: https://github.com/sxyazi/yazi/pull/1802
]
prepend_previewers = [
####################################################################
### piper ###
#####################################################################
{ url = "*.md", run = 'faster-piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dracula -- "$1"' },
{ url = "*.tar*", run = 'faster-piper -- tar tf "$1"' },
{ url = "*.txt.gz", run = 'faster-piper -- gzip -dc "$1"' },
####################################################################
### rich-preview ###
#####################################################################
{ url = "*.csv", run = "rich-preview" }, # for csv files
{ url = "*.md", run = "rich-preview" }, # for markdown (.md) files
{ url = "*.rst", run = "rich-preview" }, # for restructured text (.rst) files
{ url = "*.ipynb", run = "rich-preview" }, # for jupyter notebooks (.ipynb)
{ url = "*.json", run = "rich-preview" }, # for json (.json) files
# { url = "*.lang_type", run = "rich-preview"} # for particular language files eg. .py, .go., .lua, etc.
# ### exifaudio ###
# { mime = "audio/*", run = "exifaudio" },
#####################################################################
### eza-preview ###
#####################################################################
{ url = "*/", run = "eza-preview" },
#####################################################################
### mediainfo ###
#####################################################################
# Replace magick, image, video with mediainfo
{ mime = "{audio,video,image}/*", run = "mediainfo" },
# .srt subtitle, adobe illustrator, adobe photoshop file