diff options
author | ene <ene@sils.li> | 2023-03-10 17:03:04 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-10 17:03:04 +0100 |
commit | 69db68bdd5f84e9bd07a0ba8ca35d01fd53fb3f5 (patch) | |
tree | bf5dda34175173a3a0a2e89e30d2d965c4078c07 /home-manager | |
parent | Fix(hm/conf/lf): Make movement binds user independent (diff) | |
download | nixos-config-69db68bdd5f84e9bd07a0ba8ca35d01fd53fb3f5.tar.gz nixos-config-69db68bdd5f84e9bd07a0ba8ca35d01fd53fb3f5.zip |
Feat(hm/conf/lf): Add ctpv as a previewer
Diffstat (limited to 'home-manager')
-rw-r--r-- | home-manager/config/lf/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index 21fc17e1..3cfe3b40 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -338,11 +338,10 @@ in { gt = "cd /tmp"; }; - # TODO add ctpv, if it gets merged - # previewer = { - # keybinding = "i"; - # source = pkgs.ctpv; - # }; + previewer = { + keybinding = "i"; + source = pkgs.ctpv; + }; settings = { # TODO this needs to be added to nixos: #autoquit = true; # quit the server, if no clients are left @@ -360,15 +359,13 @@ in { shellopts = "-eu"; # e: exit on error; u: error for unset variables }; # TODO remove auto quit, if it has been added - # TODO add ctpv, if it gets merged - extraConfig = - # &ctpv -s $id - # &ctpvquit $id - # set cleaner = {pkgs.ctpv} - '' - set autoquit = true - set dirpreviews = true - ''; + extraConfig = '' + &ctpv -s $id + &ctpvquit $id + set cleaner = {pkgs.ctpv} + set autoquit = true # close the server, after the last client exits + set dirpreviews = true # preview directories + ''; }; } # vim: ts=2 |