diff options
Diffstat (limited to '')
-rwxr-xr-x | sys/svcs/xdg/scripts/lf_wrapper | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/svcs/xdg/scripts/lf_wrapper b/sys/svcs/xdg/scripts/lf_wrapper index 9277f2d4..7a508d39 100755 --- a/sys/svcs/xdg/scripts/lf_wrapper +++ b/sys/svcs/xdg/scripts/lf_wrapper @@ -26,11 +26,11 @@ save="$3" recommended_path="$4" out="$5" -echo > /tmp/stdout -echo > /tmp/stderr - -exec 1>> /tmp/stdout -exec 2>> /tmp/stderr +# echo > /tmp/stdout +# echo > /tmp/stderr +# +# exec 1>> /tmp/stdout +# exec 2>> /tmp/stderr cmd="$(command -v lf)" termcmd="${TERMINAL:-$(command -v alacritty)}" @@ -68,7 +68,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" -e "$cmd" "$@" +"$termcmd" --title 'floating please' -e "$cmd" "$@" if [ "$save" = "1" ] && [ ! -s "$out" ]; then rm "$recommended_path" |