summary refs log tree commit diff
path: root/home
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
commitce32967823903bf3ba95df71b24517cd27593974 (patch)
tree81c22ad2cb75edf07e19fdcadd748e1f820d38e3 /home
parentAdd All the Birds in the Sky (diff)
downloadsrc-ce32967823903bf3ba95df71b24517cd27593974.tar.gz
src-ce32967823903bf3ba95df71b24517cd27593974.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/cwmrc1
-rwxr-xr-xhome/.local/bin/open4
2 files changed, 3 insertions, 2 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
matches functions declared at the beginnings of lines, but I'm fine with that. 2021-01-20Add messy sh lexerJune McEnroe Surprisingly seems to work for everything I looked at in my repos. 2021-01-20Add all target to git.causal.agency MakefileJune McEnroe 2021-01-20Remove Lua supportJune McEnroe Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up. 2021-01-20Fix tests for diff spansJune McEnroe 2021-01-20Avoid matching ':' in make tagsJune McEnroe Otherwise a :: rule includes one of the ':'s in the tag name. 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe