diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-07 14:23:26 +0530 |
---|---|---|
committer | nazu <nazu@Nazers-MacBook-Pro.local> | 2023-07-08 10:59:27 +0400 |
commit | 6cd1efca8c46239d0a28096de848a6dc0ac9a0ef (patch) | |
tree | deb288630703d56e84df48a4a20ae7c9e4e491eb /.local/bin | |
parent | 7c959a9efdec956c9fc92c7a188b90e610978f53 (diff) |
linkhandler: now ttyasrt takes care of making sure tty is connected
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/linkhandler | 2 |
1 files changed, 1 insertions, 1 deletions
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 |