aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/by-name/lf/lf/module.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/by-name/lf/lf/module.nix b/modules/by-name/lf/lf/module.nix
index bff2feb0..1c587c9d 100644
--- a/modules/by-name/lf/lf/module.nix
+++ b/modules/by-name/lf/lf/module.nix
@@ -62,7 +62,7 @@ in {
# Always keep the server running
autoquit = false;
- # disable the cusor in the preview pane
+ # disable the cursor in the preview pane
cursorpreviewfmt = "";
# preview for directories
@@ -96,9 +96,9 @@ in {
tmp="$(mktemp)"
${lib.getExe pkgs.lf-make-map} --depth 4 generate ~/media ~/repos ~/school >"$tmp"
- until lf -remote "send $id source $tmp"; do
- sleep 0.2
- done
+ lf -remote "send $id source $tmp"
+ sleep 1
+ lf -remote "send $id source $tmp"
rm "$tmp"
}}