summary refs log tree commit diff
path: root/home/.local/bin/open
diff options
context:
space:
mode:
Diffstat (limited to 'home/.local/bin/open')
-rwxr-xr-xhome/.local/bin/open5
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