diff options
author | June McEnroe <june@causal.agency> | 2021-02-09 18:12:16 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-02-09 18:12:16 -0500 |
commit | 2d4336d8b765e9faad3ba0b7f6b651b3a6e1351d (patch) | |
tree | 9ded1c32b4b1c060bca83870d302c81471e48576 /home | |
parent | Disable mouse mode in xterm (diff) | |
download | src-2d4336d8b765e9faad3ba0b7f6b651b3a6e1351d.tar.gz src-2d4336d8b765e9faad3ba0b7f6b651b3a6e1351d.zip |
Use w3m to open other URLs
Diffstat (limited to '')
-rwxr-xr-x | home/.local/bin/open | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/home/.local/bin/open b/home/.local/bin/open index 256a62e2..a1f57a1a 100755 --- a/home/.local/bin/open +++ b/home/.local/bin/open @@ -9,10 +9,7 @@ case "$1" in (*.gif|*.jpeg|*.jpg|*.png) curl -LSs "$1" | imv - ;; - (*.txt) - exec xterm -hold -e sh -c 'curl -LSs "$1" | $PAGER' - "$1" - ;; (*) - printf '%s' "$1" | pbcopy + exec xterm -e w3m "$1" ;; esac |