From 5902e9ad338e39057c38c3b70b4aceb9829ba3e6 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Thu, 6 Nov 2025 14:41:45 +0100 Subject: [PATCH] yazi added file-extra-metadata --- CONFIG/yazi/yazi.toml | 8 ++++++++ endos.py | 18 ++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CONFIG/yazi/yazi.toml b/CONFIG/yazi/yazi.toml index 951e5e2..be65942 100644 --- a/CONFIG/yazi/yazi.toml +++ b/CONFIG/yazi/yazi.toml @@ -49,3 +49,11 @@ run = 'piper -- CLICOLOR_FORCE=1 glow -w=$w -s=dark "$1"' [[plugin.prepend_previewers]] name = "*/" run = 'piper -- eza -TL=3 --color=always --icons=always --group-directories-first --no-quotes "$1"' + +[[plugin.append_previewers]] +name = "*" +run = 'file-extra-metadata' + +[[plugin.prepend_spotters]] +name = "*" +run = 'file-extra-metadata' diff --git a/endos.py b/endos.py index 1f25571..3e91300 100755 --- a/endos.py +++ b/endos.py @@ -91,6 +91,7 @@ installmap = dict( "gparted", "sshfs", "file-roller", + "7zip", # explore zip files "zoxide", # quick search "eza", # pretty alternative to `ls` "glow", # markdown renderer @@ -286,15 +287,16 @@ def install_filebrowsers(overwrite: bool, reinstall: bool) -> None: helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "ranger", overwrite) helper_symlink_foldercontent(CFG_SRC, CFG_TGT, "yazi", overwrite) for plugin in [ - "chmod", - "git", - "mount", - "piper", - "smart-enter", - "smart-filter", - "toggle-pane", + "yazi-rs/plugins:chmod", + "yazi-rs/plugins:git", + "yazi-rs/plugins:mount", + "yazi-rs/plugins:piper", + "yazi-rs/plugins:smart-enter", + "yazi-rs/plugins:smart-filter", + "yazi-rs/plugins:toggle-pane", + "boydaihungst/file-extra-metadata", ]: - run(f"ya pkg add yazi-rs/plugins:{plugin}".split()) + run(f"ya pkg add {plugin}".split()) def install_netbrowsers(overwrite: bool, reinstall: bool) -> None: