about summary refs log tree commit diff stats
path: root/sys/svcs/xdg/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sys/svcs/xdg/scripts')
-rwxr-xr-xsys/svcs/xdg/scripts/lf_wrapper6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/svcs/xdg/scripts/lf_wrapper b/sys/svcs/xdg/scripts/lf_wrapper
index 9395c338..a98dea2a 100755
--- a/sys/svcs/xdg/scripts/lf_wrapper
+++ b/sys/svcs/xdg/scripts/lf_wrapper
@@ -26,6 +26,12 @@ save="$3"
 recommended_path="$4"
 out="$5"
 
+echo > /tmp/stdout
+echo > /tmp/stderr
+
+exec 1>> /tmp/stdout
+exec 2>> /tmp/stderr
+
 cmd="$(command -v lf)"
 termcmd="${TERMINAL:-$(command -v allacritty)}"