diff options
author | June McEnroe <june@causal.agency> | 2021-05-17 17:23:27 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-05-17 17:23:59 -0400 |
commit | c1494a6f9676011fe287cbe598cc15faf536939a (patch) | |
tree | 2319d2a218929de449c1fed6718ec6f10c2d3619 | |
parent | Add All the Birds in the Sky (diff) | |
download | src-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 '')
-rw-r--r-- | home/.config/cwm/cwmrc | 1 | ||||
-rwxr-xr-x | home/.local/bin/open | 4 | ||||
-rw-r--r-- | install.sh | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/home/.config/cwm/cwmrc b/home/.config/cwm/cwmrc index 0f372e22..24d692a7 100644 --- a/home/.config/cwm/cwmrc +++ b/home/.config/cwm/cwmrc @@ -7,6 +7,7 @@ autogroup 0 clock,XTerm unbind-key all bind-key 4-n terminal +bind-key 4-t "firefox -new-tab about:blank" bind-key 4-Delete lock bind-key 4-Down window-lower bind-key 4-Up window-raise 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 diff --git a/install.sh b/install.sh index ce736450..9e18c6bf 100644 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ FreeBSD() { OpenBSD() { doas pkg_add $packages if test $X; then - doas pkg_add go-fonts imv scrot sct w3m-- xcursor-dmz xsel + doas pkg_add firefox go-fonts imv scrot sct w3m-- xcursor-dmz xsel fi } |