diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-06-13 08:29:22 +0100 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-06-13 08:29:22 +0100 |
commit | 6e07af279e9dc40a7dc07cfdd2d9ec7a51efdff3 (patch) | |
tree | 51561a3f35148c70527ffa30c0cee8e8f308a3c5 | |
parent | 340afab1dee2aa924cb495fbc65ca46d6ca12eda (diff) |
updated mailcap to handle diffs
-rw-r--r-- | mailcap | 3 | ||||
-rw-r--r-- | mutt2022/mailcap | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -53,6 +53,9 @@ video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY" # Don't have a solution for albums yet image/x-imgur-album; echo +# patches +text/x-patch; vimdiff '%s'; needsterminal + # 256 color images using half-width unicode characters # Much higher quality that img2txt, but must be built from source # https://github.com/rossy/img2xterm diff --git a/mutt2022/mailcap b/mutt2022/mailcap index 3657f08..fa01661 100644 --- a/mutt2022/mailcap +++ b/mutt2022/mailcap @@ -7,6 +7,9 @@ image/jpeg; ~/.mutt/view_attachment.sh %s jpg feh image/pjpeg; ~/.mutt/view_attachment.sh %s jpg gpicview image/png; ~/.mutt/view_attachment.sh %s png gpicview image/gif; ~/.mutt/view_attachment.sh %s gif gpicview +# +# patches +text/x-patch; vimdiff '%s'; needsterminal # PDFs application/pdf; ~/.mutt/view_attachment.sh %s pdf zathura |