about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/lf/default.nix22
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 ""
     '';
   };
 }