about summary refs log tree commit diff stats
path: root/sys/svcs/xdg/scripts/lf_wrapper
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-29 12:59:23 +0100
committerSoispha <soispha@vhack.eu>2023-12-29 12:59:23 +0100
commit2e4821e99538b2a83e438a9dad100126e3a98fde (patch)
tree2eb7eb8250a8f5d55dc2d187bc413b7eb5671358 /sys/svcs/xdg/scripts/lf_wrapper
parentfix(sys/svcs/xdg/portals): Switch to trace and set correct terminal exec (diff)
downloadnixos-config-2e4821e99538b2a83e438a9dad100126e3a98fde.tar.gz
nixos-config-2e4821e99538b2a83e438a9dad100126e3a98fde.zip
fix(sys/svcs/xdg/portals): Set stdout and err debugging
Diffstat (limited to '')
-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)}"