# Alloy yazi configuration # # TUI file manager per docs/STACK.md#file-manager. Image previews # routed through kitty graphics — yazi auto-detects from TERM_PROGRAM=rio # (STACK.md#terminal); no explicit backend key needed here. # # Theme in theme.toml. # # Two key names here track yazi's schema and have already moved once. The # section is `[mgr]`, renamed from `[manager]` in 25.5.31, and rules match on # `url`, renamed from `name`. Both were still on the old spelling against yazi # 26.5.6, and yazi does not warn about a key it does not know: it fails to # parse the file, prints "continue with preset settings", and runs stock. The # whole Akari theme in theme.toml went with it. Check both after a yazi bump. [mgr] ratio = [1, 3, 4] # parent / current / preview sort_by = "natural" sort_sensitive = false sort_reverse = false sort_dir_first = true sort_translit = false linemode = "size" show_hidden = true show_symlink = true scrolloff = 5 [preview] wrap = "no" tab_size = 4 max_width = 1000 max_height = 1000 cache_dir = "" image_filter = "triangle" image_quality = 75 sixel_fraction = 15 ueberzug_scale = 1 ueberzug_offset = [0, 0, 0, 0] [opener] edit = [ { run = 'hx "$@"', block = true, for = "unix" }, ] open = [ { run = 'xdg-open "$@"', desc = "Open", for = "linux" }, ] reveal = [ { run = 'xdg-open "$(dirname "$1")"', desc = "Reveal", for = "linux" }, ] play = [ { run = 'mpv --force-window "$@"', orphan = true, for = "unix" }, ] view = [ { run = 'imv "$@"', orphan = true, for = "unix" }, ] read-pdf = [ { run = 'zathura "$@"', orphan = true, for = "unix" }, ] [open] rules = [ { url = "*/", use = "open" }, { mime = "text/*", use = "edit" }, { mime = "image/*", use = "view" }, { mime = "video/*", use = "play" }, { mime = "audio/*", use = "play" }, { mime = "application/pdf", use = "read-pdf" }, { url = "*", use = "open" }, ] [tasks] micro_workers = 10 macro_workers = 25 bizarre_retry = 5 image_alloc = 536870912 # 512 MiB image_bound = [0, 0] suppress_preload = false [plugin] prepend_fetchers = [] prepend_preloaders = [] prepend_previewers = [] [input] cd_title = "Change directory:" cd_position = { origin = "top-center", offset = [0, 2], width = 50, height = 3 } [log] enabled = false