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;
|
||||
|
||||
@@ -207,10 +207,6 @@ alternative_order text/plain text/enriched text/html
|
||||
auto_view text/html text/enriched text/calendar
|
||||
|
||||
# Preview HTML
|
||||
macro pager "<pipe-message>cat - > /tmp/mutt.html && luakit /tmp/mutt.html<return>"
|
||||
|
||||
#macro pager "<pipe-message>~/.mutt/scripts/search-msgid.sh<enter>"
|
||||
|
||||
macro pager,attach "<pipe-message>cat > /tmp/muttpatch.diff<enter><shell-escape>~/.mutt/scripts/portpatch2.sh /tmp/muttpatch.diff<enter>"
|
||||
|
||||
# Save Patch
|
||||
@@ -290,6 +286,9 @@ bind pager,index ,S save-message
|
||||
# urlview
|
||||
macro pager \cb "<pipe-entry>'urlview'<enter>" 'Follow links with urlview'
|
||||
|
||||
# attachments
|
||||
bind attach <return> view-mailcap
|
||||
|
||||
# TOFU settings
|
||||
# macro pager T ":unset display_filter<enter><exit><display-message>:set display_filter='$my_tprot'<enter>" 'TOFU protection'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user