1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{pkgs, ...}: { soispha.programs.lf.ctpv.previewers = { ls = { previewer = ./ls.sh; priority = 1; matches.mime = ["inode/directory"]; dependencies = [pkgs.coreutils]; }; symlink = { previewer = ./symlink.sh; priority = 1; matches.mime = ["inode/symlink"]; dependencies = []; }; }; }