Handle .pdf and .png attachments in .muttmailcap.
This commit is contained in:
@ -1,7 +1,8 @@
|
|||||||
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
|
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
|
||||||
application/pdf; firefox %s
|
application/pdf; xdg-open %s & sleep 4
|
||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s
|
||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo %s; nametemplate=%s.docx; test=test -n "$DISPLAY"
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo %s; nametemplate=%s.docx; test=test -n "$DISPLAY"
|
||||||
# application/vnd.openxmlformats-officedocument.wordprocessingml.document; pandoc --from=docx --to=plain %s | cat --squeeze-blank; nametemplate=%s.docx; copiousoutput
|
# application/vnd.openxmlformats-officedocument.wordprocessingml.document; pandoc --from=docx --to=plain %s | cat --squeeze-blank; nametemplate=%s.docx; copiousoutput
|
||||||
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo %s; nametemplate=%s.docm; test=test -n "$DISPLAY"
|
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo %s; nametemplate=%s.docm; test=test -n "$DISPLAY"
|
||||||
image/jpeg; display '%s'; test=test -n "$DISPLAY"
|
image/jpeg; display '%s'; test=test -n "$DISPLAY"
|
||||||
|
image/png; display '%s'; test=test -n "$DISPLAY"
|
||||||
|
|||||||
Reference in New Issue
Block a user