diff options
author | Soispha <soispha@vhack.eu> | 2024-02-23 21:06:49 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-23 21:18:41 +0100 |
commit | 5e7a6deb758af9c7df45207fe411fcb936966478 (patch) | |
tree | 309f086a657b04beedfc6e1e4664d3323f66748e | |
parent | feat(hm/conf/lf/cmds/unarchive): Add support for multiple files (diff) | |
download | nixos-config-5e7a6deb758af9c7df45207fe411fcb936966478.tar.gz nixos-config-5e7a6deb758af9c7df45207fe411fcb936966478.zip |
refactor(hm/conf/lf): Move configs to `settings` attr
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/lf/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/hm/soispha/conf/lf/default.nix b/hm/soispha/conf/lf/default.nix index 1bbcef86..292a79bc 100644 --- a/hm/soispha/conf/lf/default.nix +++ b/hm/soispha/conf/lf/default.nix @@ -24,12 +24,20 @@ in { source = "${pkgs.ctpv}/bin/ctpv"; }; settings = { - # TODO: this needs to be added to nixos: - #autoquit = true; # quit the server, if no clients are left - #dirpreviews = true; # preview for directories + # close the server, after the last client exits + autoquit = true; + + # disable the cusor in the preview pane + cursorpreviewfmt = ""; + + # preview for directories + # dirpreviews = true; + + # count things in directories + dircounts = true; - dircounts = true; # count things in directories TODO: this has performance impact drawbox = true; + # errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m"; errorfmt = "\\033[1;91m%s\\033[0m"; hidden = true; # show hidden files @@ -44,12 +52,6 @@ in { &${pkgs.ctpv}/bin/ctpv -s $id cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id set cleaner ${pkgs.ctpv}/bin/ctpvclear - - # close the server, after the last client exits - set autoquit true - - # disable the cusor in the preview pane - set cursorpreviewfmt "" ''; }; } |