diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/by-name/lf/lf/ctpv/prev/default.nix | 2 | ||||
-rw-r--r-- | modules/by-name/lf/lf/ctpv/prev/inode/default.nix | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/by-name/lf/lf/ctpv/prev/default.nix b/modules/by-name/lf/lf/ctpv/prev/default.nix index d8ab36c4..211a20bd 100644 --- a/modules/by-name/lf/lf/ctpv/prev/default.nix +++ b/modules/by-name/lf/lf/ctpv/prev/default.nix @@ -8,8 +8,8 @@ in { soispha.programs.lf.ctpv.previewers = { any = { previewer = ./any.sh; - mime_matches = ["*/*"]; priority = -1; + matches.mime = ["*/*"]; replacementStrings = { STORAGE_DIRECTORY = "${cfg.ctpv.xdgDataHome}/ctpv/missing_previews"; }; diff --git a/modules/by-name/lf/lf/ctpv/prev/inode/default.nix b/modules/by-name/lf/lf/ctpv/prev/inode/default.nix index 1261727e..bed0b81a 100644 --- a/modules/by-name/lf/lf/ctpv/prev/inode/default.nix +++ b/modules/by-name/lf/lf/ctpv/prev/inode/default.nix @@ -1,15 +1,15 @@ -{ ...}: { +{...}: { soispha.programs.lf.ctpv.previewers = { ls = { previewer = ./ls.sh; priority = 1; - mime_matches = ["inode/directory"]; + matches.mime = ["inode/directory"]; dependencies = []; }; symlink = { previewer = ./symlink.sh; priority = 1; - mime_matches = ["inode/symlink"]; + matches.mime = ["inode/symlink"]; dependencies = []; }; }; |