diff options
| author | Arpit Chakladar <arpitchakladar@proton.me> | 2026-04-22 23:10:09 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@proton.me> | 2026-04-22 23:10:09 +0530 |
| commit | c1b8da3f4618185345fb1b5bf4c6194906f6a2e2 (patch) | |
| tree | 8a8f951b0a63a7bd6af7792640564db561d0962f /modules/tools/lf/default.nix | |
| parent | 7e348c052967c536dad629b528a19214cd7ae119 (diff) | |
| download | home-manager-config-c1b8da3f4618185345fb1b5bf4c6194906f6a2e2.tar.gz home-manager-config-c1b8da3f4618185345fb1b5bf4c6194906f6a2e2.zip | |
successfully showing the image previews for lf
Diffstat (limited to 'modules/tools/lf/default.nix')
| -rw-r--r-- | modules/tools/lf/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/tools/lf/default.nix b/modules/tools/lf/default.nix index 1b61fd8..be6fc2c 100644 --- a/modules/tools/lf/default.nix +++ b/modules/tools/lf/default.nix @@ -35,16 +35,15 @@ info = "size"; sortby = "natural"; dirfirst = true; + + cleaner = lib.getExe config.scripts.file-preview-clean; }; previewer = { - source = lib.getExe' pkgs.ctpv "ctpv"; + source = lib.getExe config.scripts.file-preview; }; extraConfig = '' - &${lib.getExe' pkgs.ctpv "ctpv"} -s $id - cmd on-quit %${lib.getExe' pkgs.ctpv "ctpv"} -e $id - set cleaner ${lib.getExe' pkgs.ctpv "ctpvclear"} ${builtins.readFile ./lfrc} ''; }; |
