commit 48514faa0b5394a2ab616af784a34094695c07fd parent ae6668d17c73ed3d069811f5f7f6b7f483d52df2 Author: awy <awy@awy.one> Date: Tue, 17 Jun 2025 17:28:19 +0300 rotdir integration in yazi Diffstat:
M | .config/yazi/yazi.toml | | | 12 | +++++++++++- |
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml @@ -1,2 +1,12 @@ -[manager] +[mgr] show_hidden = true + +[opener] +rotdir = [ + { run = 'rotdir "$0" | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\|avif\|tif\|ico\)\(_large\)*$" | setsid -f imv -l 2>/dev/null', desc = "Open" }, +] + +[open] +prepend_rules = [ + { mime = "image/*", use = "rotdir" }, +]