From fdbc340cc024c9b13247783e20456a3161c90a5b Mon Sep 17 00:00:00 2001 From: ene Date: Fri, 10 Mar 2023 17:45:52 +0100 Subject: Fix(hm/conf/lf): Use the real paths to ctpv --- home-manager/config/lf/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'home-manager/config') diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index 3cfe3b40..eda82d1e 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -340,7 +340,7 @@ in { }; previewer = { keybinding = "i"; - source = pkgs.ctpv; + source = "${pkgs.ctpv}/bin/ctpv"; }; settings = { # TODO this needs to be added to nixos: @@ -360,9 +360,9 @@ in { }; # TODO remove auto quit, if it has been added extraConfig = '' - &ctpv -s $id - &ctpvquit $id - set cleaner = {pkgs.ctpv} + &${pkgs.ctpv}/bin/ctpv -s $id + cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id + set cleaner = ${pkgs.ctpv}/bin/ctpvclear set autoquit = true # close the server, after the last client exits set dirpreviews = true # preview directories ''; -- cgit 1.4.1