about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--sys/svcs/xdg/default.nix3
-rwxr-xr-xsys/svcs/xdg/scripts/lf_wrapper2
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix
index 8e52a5e9..eede4455 100644
--- a/sys/svcs/xdg/default.nix
+++ b/sys/svcs/xdg/default.nix
@@ -1,6 +1,5 @@
 {
   pkgs,
-  sysLib,
   ...
 }: {
   services.dbus.enable = true;
@@ -9,7 +8,7 @@
       enable = true;
       termfilechooser = {
         enable = true;
-        logLevel = "DEBUG";
+        logLevel = "TRACE";
         settings = {
           filechooser = {
             default_dir = "/tmp";
diff --git a/sys/svcs/xdg/scripts/lf_wrapper b/sys/svcs/xdg/scripts/lf_wrapper
index 326ffd3f..9395c338 100755
--- a/sys/svcs/xdg/scripts/lf_wrapper
+++ b/sys/svcs/xdg/scripts/lf_wrapper
@@ -62,7 +62,7 @@ else
     set -- -selection-path="$out" -command='set promptfmt "Select file (open file to select it) %S \033[32;1m%u@%h\033[0m:\033[34;1m%d\033[0m\033[1m%f\033[0m"'
 fi
 
-"$termcmd" -- "$cmd" "$@"
+"$termcmd" -e "$cmd" "$@"
 
 if [ "$save" = "1" ] && [ ! -s "$out" ]; then
     rm "$recommended_path"