repo: golang action: commit revision: path_from: revision_from: bd0cff73c0b9f34e568871aaf71873a1eef61864: path_to: revision_to:
commit bd0cff73c0b9f34e568871aaf71873a1eef61864 Author: epochDate: Thu Mar 19 02:28:34 2020 -0500 have a hack that allows images opened in-terminal (by not having "linux" as their $TERM... yeah.) to show in external viewer program, otherwise sixels diff --git a/etc/mimetype.conf b/etc/mimetype.conf
--- a/etc/mimetype.conf +++ b/etc/mimetype.conf @@ -1,5 +1,4 @@ -text/gophermap x-terminal-emulator -hold -e sh -c "gophermap2terminal < '%s'" text/gophermap: x-terminal-emulator -title "$(uriunescape '%p' | cut -d/ -f8-)" -hold -e sh -c "gophermap2terminal < '%p'" text/plain: x-terminal-emulator -e less -f <(fold -sw 80 < '%p') -image/png: img2sixel '%p' -image/gif: img2sixel '%p' +image/png: [ "$TERM" != "linux" ] && img2sixel '%p' || xli '%p' +image/gif: [ "$TERM" != "linux" ] && img2sixel '%p' || xli '%p'
-----END OF PAGE-----