summaryrefslogtreecommitdiff
path: root/tw/home/files/mailcap
diff options
context:
space:
mode:
authorTimo Wilken2023-01-08 22:45:08 +0100
committerTimo Wilken2023-01-08 22:45:08 +0100
commit19220f04862409ba40d9c72d39e9c2cd03643dd6 (patch)
tree207bc11a4ec4913bfe232d2fb7d53e0219cf9d36 /tw/home/files/mailcap
parent7a208e3c697e1a417b78a69622957e1d2c188884 (diff)
Autoview patches using source-highlight in mails
Diffstat (limited to 'tw/home/files/mailcap')
-rw-r--r--tw/home/files/mailcap2
1 files changed, 2 insertions, 0 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