From 6cd1efca8c46239d0a28096de848a6dc0ac9a0ef Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 7 Jul 2023 14:23:26 +0530 Subject: linkhandler: now ttyasrt takes care of making sure tty is connected --- .local/bin/linkhandler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler index 71bdbef..5fff65e 100755 --- a/.local/bin/linkhandler +++ b/.local/bin/linkhandler @@ -26,7 +26,7 @@ main() *.c|*.cpp|*.sh|*.txt|*.java|*.nix|*.lua) note "processing text" curl -sL "$1" > "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" && - exec "$TERMINAL" -e xdg-open "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" > /dev/null 2>&1 & + exec xdg-open "/tmp/$(echo "$1" | sed "s/.*\///;s/%20/ /g")" > /dev/null 2>&1 & ;; *) if echo "$1" | grep -Eqx '^https?://[^/]*\.onion(/.*)?'; then -- cgit v1.2.3