diff options
author | Soispha <soispha@vhack.eu> | 2023-12-29 12:59:23 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-29 12:59:23 +0100 |
commit | 2e4821e99538b2a83e438a9dad100126e3a98fde (patch) | |
tree | 2eb7eb8250a8f5d55dc2d187bc413b7eb5671358 /sys/svcs/xdg/scripts | |
parent | fix(sys/svcs/xdg/portals): Switch to trace and set correct terminal exec (diff) | |
download | nixos-config-2e4821e99538b2a83e438a9dad100126e3a98fde.tar.gz nixos-config-2e4821e99538b2a83e438a9dad100126e3a98fde.zip |
fix(sys/svcs/xdg/portals): Set stdout and err debugging
Diffstat (limited to 'sys/svcs/xdg/scripts')
-rwxr-xr-x | sys/svcs/xdg/scripts/lf_wrapper | 6 |
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)}" |