diff options
author | Timo Wilken | 2023-01-08 22:45:08 +0100 |
---|---|---|
committer | Timo Wilken | 2023-01-08 22:45:08 +0100 |
commit | 19220f04862409ba40d9c72d39e9c2cd03643dd6 (patch) | |
tree | 207bc11a4ec4913bfe232d2fb7d53e0219cf9d36 /tw | |
parent | 7a208e3c697e1a417b78a69622957e1d2c188884 (diff) |
Autoview patches using source-highlight in mails
Diffstat (limited to 'tw')
-rw-r--r-- | tw/home/files/mailcap | 2 | ||||
-rw-r--r-- | tw/home/files/muttrc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tw/home/files/mailcap b/tw/home/files/mailcap index 904ce065..4e771575 100644 --- a/tw/home/files/mailcap +++ b/tw/home/files/mailcap @@ -8,3 +8,5 @@ text/calendar; khal printics %s; copiousoutput image/*; kitty +kitten icat %s; copiousoutput audio/*; mpv --no-video %s application/pdf; zathura %s +text/x-diff; source-highlight -f esc -s diff -i %s; copiousoutput +text/x-patch; source-highlight -f esc -s diff -i %s; copiousoutput diff --git a/tw/home/files/muttrc b/tw/home/files/muttrc index 470b1f2b..a037611e 100644 --- a/tw/home/files/muttrc +++ b/tw/home/files/muttrc @@ -76,7 +76,7 @@ set header_cache = `echo "\$XDG_CACHE_HOME/neomutt/"` ignore x-mailer user-agent alternative_order text/plain text/enriched text/html text image -auto_view text/html text/calendar image/jpeg image/png +auto_view text/html text/calendar text/x-diff text/x-patch image/jpeg image/png set my_mythic = "imaps://oncilla.mythic-beasts.com/" account-hook "$my_mythic" 'unmailboxes *' |