{ programs.yazi = { shellWrapperName = "y"; enable = true; flavors = { }; theme = { flavor = { }; }; settings = { mgr = { ratio = [ 1 2 3 ]; sort_by = "alphabetical"; sort_dir_first = true; }; preview = { max_width = 10000; max_height = 10000; }; tasks = { image_bound = [ 65000 65000 ]; }; open = { prepend_rules = [ { mime = "video/*"; use = "open"; } ]; }; }; keymap = { mgr.prepend_keymap = [ # Array of { } { } { on = [ "c" "i" ]; run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm''; desc = "Copy file data to clipboard with matching MIME type"; } { on = ";"; run = "shell --interactive --block"; desc = "Run a shell command (block until finish)"; } { on = ":"; run = "shell --interactive"; desc = "Run a shell command (yazi background)"; } ]; }; }; }