about summary refs log tree commit diff stats
path: root/home-manager/config/lf/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-24 17:31:11 +0100
committerene <ene@sils.li>2023-02-24 17:31:11 +0100
commit89b20a2a2c91a0af25b879beb358ee0e442a4f60 (patch)
tree3f1e990e978c7f89330eab9b8f6bed2131f8b040 /home-manager/config/lf/default.nix
parentFeat(bootstrap): Add nvim to the setup (diff)
downloadnixos-config-89b20a2a2c91a0af25b879beb358ee0e442a4f60.tar.gz
nixos-config-89b20a2a2c91a0af25b879beb358ee0e442a4f60.zip
Fix(lf): Fix the config file
Diffstat (limited to 'home-manager/config/lf/default.nix')
-rw-r--r--home-manager/config/lf/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix
index 6cadf504..54eee2c9 100644
--- a/home-manager/config/lf/default.nix
+++ b/home-manager/config/lf/default.nix
@@ -165,7 +165,7 @@ in {
             gnutar
             unzip
             # TODO this is unfree! unrar
-            
+
             p7zip
             ;
         };
@@ -351,24 +351,25 @@ in {
 
       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==> ERROR:\\033[0m\\033[1;93m%s\\033[0m";
+      errorfmt = "ERROR: ";
       hidden = true; # show hidden files
       icons = true;
-      ifs = "\n"; # internal field separator for shell commands
+      ifs = "\\n"; # internal field separator for shell commands
       info = "size"; # show the size of a directory
       shell = "sh";
-      shellopts = "-e -u"; # e: exit on error; u: error for unset variables
+      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
+        set dirpreviews = true
+      '';
   };
 }
 # vim: ts=2