Update 2023-04-10 13:00 OpenBSD/amd64
This commit is contained in:
@@ -21,21 +21,21 @@
|
||||
# Tests:
|
||||
# test -n "$DISPLAY" true when X is running
|
||||
|
||||
|
||||
# html
|
||||
text/html; ~/.mutt/scripts/call-browser.sh %s; test=test -n "$DISPLAY"; needsterminal;
|
||||
text/html; w3m -I %{charset} -T %t -cols "$COLUMNS" -s -no-graph -o display_link=1 -o display_link_number=1; copiousoutput;
|
||||
|
||||
# documents
|
||||
application/pdf; mupdf-gl %s; nametemplate=%s.pdf;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s;
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice %s;
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice %s;
|
||||
application/vnd.oasis.opendocument.text; libreoffice %s;
|
||||
application/vnd.oasis.opendocument.spreadsheet; libreoffice %s;
|
||||
application/vnd.oasis.opendocument.presentation; libreoffice %s;
|
||||
application/pdf; ~/.mutt/scripts/call.sh mupdf-gl %s; nametemplate=%s.pdf;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
application/vnd.oasis.opendocument.text; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
application/vnd.oasis.opendocument.spreadsheet; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
application/vnd.oasis.opendocument.presentation; ~/.mutt/scripts/call.sh libreoffice %s;
|
||||
|
||||
# media
|
||||
image/*; nsxiv %s; needsterminal;
|
||||
image/*; ~/.mutt/scripts/call.sh nsxiv %s;
|
||||
video/*; mpv %s; needsterminal;
|
||||
audio/*; mpv %s; needsterminal;
|
||||
application/ogg; mpv %s; needsterminal;
|
||||
@@ -49,4 +49,4 @@ application/ms-tnef; tnef -w %s
|
||||
|
||||
# fallback
|
||||
application/*; vim %s; needsterminal;
|
||||
#text/*; cat %s; copiousoutput;
|
||||
text/*; cat %s; copiousoutput;
|
||||
|
||||
Reference in New Issue
Block a user