about summary refs log tree commit diff stats
path: root/modules/by-name/lf/lf/ctpv/prev/inode/default.nix
blob: eaade0f1d0f40a1bea21eea34bf821a5156caf29 (plain) (blame)
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 = [];
    };
  };
}