summary refs log tree commit diff
path: root/home/.local/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-17 17:23:27 -0400
committerJune McEnroe <june@causal.agency>2021-05-17 17:23:59 -0400
commitc1494a6f9676011fe287cbe598cc15faf536939a (patch)
tree2319d2a218929de449c1fed6718ec6f10c2d3619 /home/.local/bin
parentAdd All the Birds in the Sky (diff)
downloadsrc-c1494a6f9676011fe287cbe598cc15faf536939a.tar.gz
src-c1494a6f9676011fe287cbe598cc15faf536939a.zip
Install firefox on OpenBSD
I feel like I'm using Windows when I open firefox... But it's so
hard to get by without it :(
Diffstat (limited to '')
-rwxr-xr-xhome/.local/bin/open4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.local/bin/open b/home/.local/bin/open
index 17cfb523..cc13d0a6 100755
--- a/home/.local/bin/open
+++ b/home/.local/bin/open
@@ -10,9 +10,9 @@ case "$1" in
 		curl -LSs "$1" | imv -
 		;;
 	(https://youtu.be/*|https://www.youtube.com/watch*|https://twitch.tv/*)
-		exec mpv "$1" >/dev/null 2>/dev/null
+		exec mpv "$1" >/dev/null 2>&1
 		;;
 	(*)
-		exec xterm -e w3m "$1"
+		exec firefox -new-tab "$1" >/dev/null 2>&1
 		;;
 esac