]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Mutt and Lynx WebP knowledge
authorSergey Matveev <stargrave@stargrave.org>
Mon, 20 Apr 2020 08:35:24 +0000 (11:35 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 20 Apr 2020 08:35:24 +0000 (11:35 +0300)
lynx/.mailcap
mutt/.mime.types [new file with mode: 0644]

index 8c7d7caaf21309775c283aec7d2cc8ab24df56e0..7f92f9152c05df14aa0d48a95ee3c0859e265c3f 100644 (file)
@@ -1,5 +1,6 @@
 text/html; /usr/local/bin/lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html
 application/pdf; /usr/local/bin/zathura '%s'; test=test -n "$DISPLAY"
+image/gif; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY"
 image/jpeg; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY"
 image/png; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY"
-image/gif; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY"
+image/webp; /usr/local/bin/sxiv '%s'; test=test -n "$DISPLAY"
diff --git a/mutt/.mime.types b/mutt/.mime.types
new file mode 100644 (file)
index 0000000..11b6f94
--- /dev/null
@@ -0,0 +1 @@
+image/webp webp