]> Sergey Matveev's repositories - dotfiles.git/commitdiff
More MIME types and their separation
authorSergey Matveev <stargrave@stargrave.org>
Wed, 1 Sep 2021 12:31:31 +0000 (15:31 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 1 Sep 2021 13:15:52 +0000 (16:15 +0300)
20 files changed:
lighttpd/mime-archive.conf [new file with mode: 0644]
lighttpd/mime-audio.conf [new file with mode: 0644]
lighttpd/mime-crypto.conf [new file with mode: 0644]
lighttpd/mime-doc.conf [new file with mode: 0644]
lighttpd/mime-font.conf [new file with mode: 0644]
lighttpd/mime-if.conf [new file with mode: 0644]
lighttpd/mime-img.conf [new file with mode: 0644]
lighttpd/mime-mail.conf [new file with mode: 0644]
lighttpd/mime-ms.conf [new file with mode: 0644]
lighttpd/mime-od.conf [new file with mode: 0644]
lighttpd/mime-playlist.conf [new file with mode: 0644]
lighttpd/mime-sharing.conf [new file with mode: 0644]
lighttpd/mime-subtitle.conf [new file with mode: 0644]
lighttpd/mime-text.conf [new file with mode: 0644]
lighttpd/mime-video.conf [new file with mode: 0644]
lighttpd/mime-web.conf [new file with mode: 0644]
lighttpd/mime-xml.conf [new file with mode: 0644]
lighttpd/mime.conf
lynx/.mailcap
mutt/.mime.types

diff --git a/lighttpd/mime-archive.conf b/lighttpd/mime-archive.conf
new file mode 100644 (file)
index 0000000..03f19be
--- /dev/null
@@ -0,0 +1,20 @@
+mimetype.assign += (
+       ".7z" => "application/x-7z-compressed",
+       ".bz2" => "application/x-bzip2",
+       ".cpio" => "application/x-cpio",
+       ".deb" => "application/vnd.debian.binary-package",
+       ".gz" => "application/gzip",
+       ".jar" => "application/x-java-archive",
+       ".lz" => "application/lzip",
+       ".par2" => "application/x-par2",
+       ".rar" => "application/vnd.rar",
+       ".rpm" => "application/x-rpm",
+       ".tbz" => "application/x-bzip2",
+       ".tgz" => "application/gzip",
+       ".txz" => "application/x-xz",
+       ".tzst" => "application/zstd",
+       ".warc" => "application/warc",
+       ".xz" => "application/x-xz",
+       ".zip" => "application/zip",
+       ".zst" => "application/zstd",
+)
diff --git a/lighttpd/mime-audio.conf b/lighttpd/mime-audio.conf
new file mode 100644 (file)
index 0000000..023acc6
--- /dev/null
@@ -0,0 +1,18 @@
+mimetype.assign += (
+       ".aac" => "audio/aac",
+       ".ac3" => "audio/ac3",
+       ".aif" => "audio/aiff",
+       ".aiff" => "audio/aiff",
+       ".flac" => "audio/flac",
+       ".m4a" => "audio/mp4",
+       ".mka" => "audio/x-matroska",
+       ".mp2" => "audio/mpeg",
+       ".mp3" => "audio/mpeg",
+       ".oga" => "audio/ogg",
+       ".ogg" => "audio/ogg",
+       ".opus" => "audio/ogg",
+       ".spx" => "audio/ogg",
+       ".wav" => "audio/wav",
+       ".weba" => "audio/webm",
+       ".wv" => "audio/x-wavpack",
+)
diff --git a/lighttpd/mime-crypto.conf b/lighttpd/mime-crypto.conf
new file mode 100644 (file)
index 0000000..8918805
--- /dev/null
@@ -0,0 +1,15 @@
+mimetype.assign += (
+       ".cer" => "application/pkix-cert",
+       ".crl" => "application/pkix-crl",
+       ".gpg" => "application/pgp-encrypted",
+       ".p10" => "application/pkcs10",
+       ".p12" => "application/pkcs12",
+       ".p7c" => "application/pkcs7-mime",
+       ".p7m" => "application/pkcs7-mime",
+       ".p7s" => "application/pkcs7-signature",
+       ".p8" => "application/pkcs8",
+       ".p8e" => "application/pkcs8-encrypted",
+       ".pem" => "application/pem-certificate-chain",
+       ".pfx" => "application/pkcs12",
+       ".sig" => "application/pgp-signature",
+)
diff --git a/lighttpd/mime-doc.conf b/lighttpd/mime-doc.conf
new file mode 100644 (file)
index 0000000..677bdfb
--- /dev/null
@@ -0,0 +1,12 @@
+mimetype.assign += (
+       ".cbr" => "application/vnd.comicbook+rar",
+       ".cbz" => "application/vnd.comicbook+zip",
+       ".chm" => "application/vnd.ms-htmlhelp",
+       ".djvu" => "image/vnd.djvu",
+       ".dvi" => "application/x-dvi",
+       ".eps" => "application/postscript",
+       ".epub" => "application/epub+zip",
+       ".fb2" => "application/x-fictionbook+xml",
+       ".pdf" => "application/pdf",
+       ".ps" => "application/postscript",
+)
diff --git a/lighttpd/mime-font.conf b/lighttpd/mime-font.conf
new file mode 100644 (file)
index 0000000..7d9f75c
--- /dev/null
@@ -0,0 +1,6 @@
+mimetype.assign += (
+       ".otf" => "font/otf",
+       ".ttf" => "font/ttf",
+       ".woff" => "font/woff",
+       ".woff2" => "font/woff2",
+)
diff --git a/lighttpd/mime-if.conf b/lighttpd/mime-if.conf
new file mode 100644 (file)
index 0000000..85e08a6
--- /dev/null
@@ -0,0 +1,18 @@
+mimetype.assign += (
+       ".blb" => "application/x-blorb",
+       ".blorb" => "application/x-blorb",
+       ".gblorb" => "application/x-blorb",
+       ".glb" => "application/x-blorb",
+       ".ifm" => "text/plain",
+       ".ulx" => "application/x-glulx",
+       ".z1" => "application/x-zmachine",
+       ".z2" => "application/x-zmachine",
+       ".z3" => "application/x-zmachine",
+       ".z4" => "application/x-zmachine",
+       ".z5" => "application/x-zmachine",
+       ".z6" => "application/x-zmachine",
+       ".z7" => "application/x-zmachine",
+       ".z8" => "application/x-zmachine",
+       ".zblorb" => "application/x-blorb",
+       ".zlb" => "application/x-blorb",
+)
diff --git a/lighttpd/mime-img.conf b/lighttpd/mime-img.conf
new file mode 100644 (file)
index 0000000..0df01e3
--- /dev/null
@@ -0,0 +1,23 @@
+mimetype.assign += (
+       ".apng" => "image/vnd.mozilla.apng",
+       ".avif" => "image/avif",
+       ".gif" => "image/gif",
+       ".heic" => "image/heic",
+       ".jp2" => "image/jp2",
+       ".jpeg" => "image/jpeg",
+       ".jpg" => "image/jpeg",
+       ".jxl" => "image/jxl",
+       ".mng" => "video/x-mng",
+       ".pam" => "image/x-portable-arbitrarymap",
+       ".pbm" => "image/x-portable-bitmap",
+       ".pfm" => "image/x-portable-floatmap",
+       ".pgm" => "image/x-portable-graymap",
+       ".png" => "image/png",
+       ".pnm" => "image/x-portable-anymap",
+       ".ppm" => "image/x-portable-pixmap",
+       ".svg" => "image/svg+xml",
+       ".tif" => "image/tiff",
+       ".tiff" => "image/tiff",
+       ".webp" => "image/webp",
+       ".xpm" => "image/x-xpixmap",
+)
diff --git a/lighttpd/mime-mail.conf b/lighttpd/mime-mail.conf
new file mode 100644 (file)
index 0000000..2d5b14f
--- /dev/null
@@ -0,0 +1,5 @@
+mimetype.assign += (
+       ".eml" => "message/rfc822",
+       ".mbox" => "application/mbox",
+       ".mht" => "message/rfc822",
+)
diff --git a/lighttpd/mime-ms.conf b/lighttpd/mime-ms.conf
new file mode 100644 (file)
index 0000000..ed0f58b
--- /dev/null
@@ -0,0 +1,14 @@
+mimetype.assign += (
+       ".doc" => "application/msword",
+       ".docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
+       ".dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
+       ".potx" => "application/vnd.openxmlformats-officedocument.presentationml.template",
+       ".ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
+       ".ppt" => "application/vnd.ms-powerpoint",
+       ".pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
+       ".rtf" => "application/rtf",
+       ".sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide",
+       ".xls" => "application/vnd.ms-excel",
+       ".xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+       ".xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
+)
diff --git a/lighttpd/mime-od.conf b/lighttpd/mime-od.conf
new file mode 100644 (file)
index 0000000..ec03df2
--- /dev/null
@@ -0,0 +1,18 @@
+mimetype.assign += (
+       ".odb" => "application/vnd.oasis.opendocument.database",
+       ".odc" => "application/vnd.oasis.opendocument.chart",
+       ".odf" => "application/vnd.oasis.opendocument.formula",
+       ".odg" => "application/vnd.oasis.opendocument.graphics",
+       ".odi" => "application/vnd.oasis.opendocument.image",
+       ".odm" => "application/vnd.oasis.opendocument.text-master",
+       ".odp" => "application/vnd.oasis.opendocument.presentation",
+       ".ods" => "application/vnd.oasis.opendocument.spreadsheet",
+       ".odt" => "application/vnd.oasis.opendocument.text",
+       ".otc" => "application/vnd.oasis.opendocument.chart-template",
+       ".otg" => "application/vnd.oasis.opendocument.graphics-template",
+       ".oth" => "application/vnd.oasis.opendocument.text-web",
+       ".oti" => "application/vnd.oasis.opendocument.image-template",
+       ".otp" => "application/vnd.oasis.opendocument.presentation-template",
+       ".ots" => "application/vnd.oasis.opendocument.spreadsheet-template",
+       ".ott" => "application/vnd.oasis.opendocument.text-template",
+)
diff --git a/lighttpd/mime-playlist.conf b/lighttpd/mime-playlist.conf
new file mode 100644 (file)
index 0000000..a0af89e
--- /dev/null
@@ -0,0 +1,5 @@
+mimetype.assign += (
+       ".m3u" => "application/vnd.apple.mpegurl",
+       ".m3u8" => "application/vnd.apple.mpegurl",
+       ".xspf" => "application/xspf+xml",
+)
diff --git a/lighttpd/mime-sharing.conf b/lighttpd/mime-sharing.conf
new file mode 100644 (file)
index 0000000..2f1d239
--- /dev/null
@@ -0,0 +1,6 @@
+mimetype.assign += (
+       ".iso" => "application/x-iso9660-image",
+       ".meta4" => "application/metalink4+xml",
+       ".metalink" => "application/metalink+xml",
+       ".torrent" => "application/x-bittorrent",
+)
diff --git a/lighttpd/mime-subtitle.conf b/lighttpd/mime-subtitle.conf
new file mode 100644 (file)
index 0000000..047216d
--- /dev/null
@@ -0,0 +1,5 @@
+mimetype.assign += (
+       ".ass" => "text/x-ssa",
+       ".srt" => "application/x-subrip",
+       ".ssa" => "text/x-ssa",
+)
diff --git a/lighttpd/mime-text.conf b/lighttpd/mime-text.conf
new file mode 100644 (file)
index 0000000..99ce9d1
--- /dev/null
@@ -0,0 +1,20 @@
+mimetype.assign += (
+       ".asc" => "text/plain",
+       ".csv" => "text/csv",
+       ".cue" => "text/plain",
+       ".gmi" => "text/gemini; charset=utf-8",
+       ".icf" => "text/calendar; charset=utf-8",
+       ".info" => "text/info; charset=utf-8",
+       ".json" => "application/json; charset=utf-8",
+       ".ldif" => "text/plain; charset=utf-8",
+       ".log" => "text/plain; charset=utf-8",
+       ".md" => "text/markdown; charset=utf-8",
+       ".rec" => "text/plain; charset=utf-8",
+       ".sql" => "text/plain; charset=utf-8",
+       ".txt" => "text/plain; charset=utf-8",
+       ".url" => "text/uri-list; charset=utf-8",
+       ".vcf" => "text/vcard; charset=utf-8",
+       ".zone" => "text/dns; charset=utf-8",
+       "ls-lR" => "text/plain; charset=utf-8",
+       "README" => "text/plain; charset=utf-8",
+)
diff --git a/lighttpd/mime-video.conf b/lighttpd/mime-video.conf
new file mode 100644 (file)
index 0000000..8a69a54
--- /dev/null
@@ -0,0 +1,12 @@
+mimetype.assign += (
+       ".avi" => "video/x-msvideo",
+       ".m4v" => "video/mp4",
+       ".mj2" => "video/mj2",
+       ".mkv" => "video/x-matroska",
+       ".mov" => "video/quicktime",
+       ".mp4" => "video/mp4",
+       ".mpg" => "video/mpeg",
+       ".ogv" => "video/ogg",
+       ".ts" => "video/MP2T",
+       ".webm" => "video/webm",
+)
diff --git a/lighttpd/mime-web.conf b/lighttpd/mime-web.conf
new file mode 100644 (file)
index 0000000..aa9fa11
--- /dev/null
@@ -0,0 +1,9 @@
+mimetype.assign += (
+       ".css" => "text/css; charset=utf-8",
+       ".dtd" => "application/xml-dtd",
+       ".htm" => "text/html",
+       ".html" => "text/html",
+       ".js" => "application/javascript; charset=utf-8",
+       ".wasm" => "application/wasm",
+       ".xhtml" => "application/xhtml+xml",
+)
diff --git a/lighttpd/mime-xml.conf b/lighttpd/mime-xml.conf
new file mode 100644 (file)
index 0000000..59b970c
--- /dev/null
@@ -0,0 +1,8 @@
+mimetype.assign += (
+       ".atom" => "application/atom+xml",
+       ".dbk" => "application/docbook+xml",
+       ".opml" => "application/xml",
+       ".rss" => "application/rss+xml",
+       ".xbel" => "application/xml",
+       ".xml" => "application/xml",
+)
index db1a712d721e76dec46e6d81b9b3a16889db8f40..5e0191fee47628a3c6b8c4cd230c8c51da8ba1e7 100644 (file)
 mimetype.assign = (
-       # Archives
-
-       ".7z" => "application/x-7z-compressed",
-       ".bz2" => "application/x-bzip2",
-       ".cpio" => "application/x-cpio",
-       ".deb" => "application/vnd.debian.binary-package",
-       ".gz" => "application/gzip",
-       ".jar" => "application/x-java-archive",
-       ".lz" => "application/lzip",
-       ".par2" => "application/x-par2",
-       ".rar" => "application/vnd.rar",
-       ".rpm" => "application/x-rpm",
-       ".tbz" => "application/x-bzip2",
-       ".tgz" => "application/gzip",
-       ".txz" => "application/x-xz",
-       ".tzst" => "application/zstd",
-       ".warc" => "application/warc",
-       ".xz" => "application/x-xz",
-       ".zip" => "application/zip",
-       ".zst" => "application/zstd",
-
-       # Text files
-
-       ".asc" => "text/plain",
-       ".csv" => "text/csv",
-       ".cue" => "text/plain",
-       ".icf" => "text/calendar; charset=utf-8",
-       ".info" => "text/info; charset=utf-8",
-       ".json" => "application/json; charset=utf-8",
-       ".ldif" => "text/plain; charset=utf-8",
-       ".log" => "text/plain; charset=utf-8",
-       ".md" => "text/markdown; charset=utf-8",
-       ".rec" => "text/plain; charset=utf-8",
-       ".sql" => "text/plain; charset=utf-8",
-       ".txt" => "text/plain; charset=utf-8",
-       ".url" => "text/uri-list; charset=utf-8",
-       ".vcf" => "text/vcard; charset=utf-8",
-       ".zone" => "text/dns; charset=utf-8",
-       "ls-lR" => "text/plain; charset=utf-8",
-       "README" => "text/plain; charset=utf-8",
-
-       # XMLs
-
-       ".atom" => "application/atom+xml",
-       ".dbk" => "application/docbook+xml",
-       ".opml" => "application/xml",
-       ".rss" => "application/rss+xml",
-       ".xbel" => "application/xml",
-       ".xml" => "application/xml",
-
-       # Web
-
-       ".css" => "text/css; charset=utf-8",
-       ".dtd" => "application/xml-dtd",
-       ".htm" => "text/html",
-       ".html" => "text/html",
-       ".js" => "application/javascript; charset=utf-8",
-       ".wasm" => "application/wasm",
-       ".xhtml" => "application/xhtml+xml",
-
-       # Fonts
-
-       ".otf" => "font/otf",
-       ".ttf" => "font/ttf",
-       ".woff" => "font/woff",
-       ".woff2" => "font/woff2",
-
-       # Documents
-
-       ".cbr" => "application/vnd.comicbook+rar",
-       ".cbz" => "application/vnd.comicbook+zip",
-       ".chm" => "application/vnd.ms-htmlhelp",
-       ".djvu" => "image/vnd.djvu",
-       ".dvi" => "application/x-dvi",
-       ".eps" => "application/postscript",
-       ".epub" => "application/epub+zip",
-       ".fb2" => "application/x-fictionbook+xml",
-       ".pdf" => "application/pdf",
-       ".ps" => "application/postscript",
-
-       # OpenDocument
-
-       ".odb" => "application/vnd.oasis.opendocument.database",
-       ".odc" => "application/vnd.oasis.opendocument.chart",
-       ".odf" => "application/vnd.oasis.opendocument.formula",
-       ".odg" => "application/vnd.oasis.opendocument.graphics",
-       ".odi" => "application/vnd.oasis.opendocument.image",
-       ".odm" => "application/vnd.oasis.opendocument.text-master",
-       ".odp" => "application/vnd.oasis.opendocument.presentation",
-       ".ods" => "application/vnd.oasis.opendocument.spreadsheet",
-       ".odt" => "application/vnd.oasis.opendocument.text",
-       ".otc" => "application/vnd.oasis.opendocument.chart-template",
-       ".otg" => "application/vnd.oasis.opendocument.graphics-template",
-       ".oth" => "application/vnd.oasis.opendocument.text-web",
-       ".oti" => "application/vnd.oasis.opendocument.image-template",
-       ".otp" => "application/vnd.oasis.opendocument.presentation-template",
-       ".ots" => "application/vnd.oasis.opendocument.spreadsheet-template",
-       ".ott" => "application/vnd.oasis.opendocument.text-template",
-
-       # Microsoft formats
-
-       ".doc" => "application/msword",
-       ".docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
-       ".dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
-       ".potx" => "application/vnd.openxmlformats-officedocument.presentationml.template",
-       ".ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
-       ".ppt" => "application/vnd.ms-powerpoint",
-       ".pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
-       ".rtf" => "application/rtf",
-       ".sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide",
-       ".xls" => "application/vnd.ms-excel",
-       ".xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
-       ".xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
-
-       # Interactive fiction
-
-       ".blb" => "application/x-blorb",
-       ".blorb" => "application/x-blorb",
-       ".gblorb" => "application/x-blorb",
-       ".glb" => "application/x-blorb",
-       ".ifm" => "text/plain",
-       ".ulx" => "application/x-glulx",
-       ".z1" => "application/x-zmachine",
-       ".z2" => "application/x-zmachine",
-       ".z3" => "application/x-zmachine",
-       ".z4" => "application/x-zmachine",
-       ".z5" => "application/x-zmachine",
-       ".z6" => "application/x-zmachine",
-       ".z7" => "application/x-zmachine",
-       ".z8" => "application/x-zmachine",
-       ".zblorb" => "application/x-blorb",
-       ".zlb" => "application/x-blorb",
-
-       # Cryptography
-
-       ".cer" => "application/pkix-cert",
-       ".crl" => "application/pkix-crl",
-       ".gpg" => "application/pgp-encrypted",
-       ".p10" => "application/pkcs10",
-       ".p12" => "application/pkcs12",
-       ".p7c" => "application/pkcs7-mime",
-       ".p7m" => "application/pkcs7-mime",
-       ".p7s" => "application/pkcs7-signature",
-       ".p8" => "application/pkcs8",
-       ".p8e" => "application/pkcs8-encrypted",
-       ".pem" => "application/pem-certificate-chain",
-       ".pfx" => "application/pkcs12",
-       ".sig" => "application/pgp-signature",
-
-       # Images
-
-       ".apng" => "image/vnd.mozilla.apng",
-       ".avif" => "image/avif",
-       ".gif" => "image/gif",
-       ".heic" => "image/heic",
-       ".jp2" => "image/jp2",
-       ".jpeg" => "image/jpeg",
-       ".jpg" => "image/jpeg",
-       ".jxl" => "image/jxl",
-       ".mng" => "video/x-mng",
-       ".pbm" => "image/x-portable-bitmap",
-       ".pgm" => "image/x-portable-graymap",
-       ".png" => "image/png",
-       ".pnm" => "image/x-portable-anymap",
-       ".ppm" => "image/x-portable-pixmap",
-       ".svg" => "image/svg+xml",
-       ".tif" => "image/tiff",
-       ".tiff" => "image/tiff",
-       ".webp" => "image/webp",
-
-       # Audio
-
-       ".aac" => "audio/aac",
-       ".ac3" => "audio/ac3",
-       ".aif" => "audio/aiff",
-       ".aiff" => "audio/aiff",
-       ".flac" => "audio/flac",
-       ".m4a" => "audio/mp4",
-       ".mka" => "audio/x-matroska",
-       ".mp2" => "audio/mpeg",
-       ".mp3" => "audio/mpeg",
-       ".oga" => "audio/ogg",
-       ".ogg" => "audio/ogg",
-       ".opus" => "audio/ogg",
-       ".spx" => "audio/ogg",
-       ".wav" => "audio/wav",
-       ".weba" => "audio/webm",
-       ".wv" => "audio/x-wavpack",
-
-       # Video
-
-       ".avi" => "video/x-msvideo",
-       ".m4v" => "video/mp4",
-       ".mj2" => "video/mj2",
-       ".mkv" => "video/x-matroska",
-       ".mov" => "video/quicktime",
-       ".mp4" => "video/mp4",
-       ".mpg" => "video/mpeg",
-       ".ogv" => "video/ogg",
-       ".ts" => "video/MP2T",
-       ".webm" => "video/webm",
-
-       # Playlist
-
-       ".m3u" => "application/vnd.apple.mpegurl",
-       ".m3u8" => "application/vnd.apple.mpegurl",
-       ".xspf" => "application/xspf+xml",
-
-       # Subtitles
-
-       ".ass" => "text/x-ssa",
-       ".srt" => "application/x-subrip",
-       ".ssa" => "text/x-ssa",
-
-       # Mail
-
-       ".eml" => "message/rfc822",
-       ".mbox" => "application/mbox",
-       ".mht" => "message/rfc822",
-
-       # File sharing
-
-       ".iso" => "application/x-iso9660-image",
-       ".meta4" => "application/metalink4+xml",
-       ".metalink" => "application/metalink+xml",
-       ".torrent" => "application/x-bittorrent",
-
        "" => "application/octet-stream"
 )
+
+include "mime-archive.conf"
+include "mime-text.conf"
+include "mime-xml.conf"
+include "mime-web.conf"
+include "mime-font.conf"
+include "mime-doc.conf"
+include "mime-od.conf"
+include "mime-ms.conf"
+include "mime-if.conf"
+include "mime-crypto.conf"
+include "mime-img.conf"
+include "mime-audio.conf"
+include "mime-video.conf"
+include "mime-playlist.conf"
+include "mime-subtitle.conf"
+include "mime-mail.conf"
+include "mime-sharing.conf"
index 10062b0bc4053c98855b84e46e5bf1154064bbd7..a5e9784cfe9670735c99252d25ee7d48bf2ef3e7 100644 (file)
@@ -6,6 +6,13 @@ image/jxl; sxiv '%s'; test=test -n "$DISPLAY"
 image/png; sxiv '%s'; test=test -n "$DISPLAY"
 image/webp; sxiv '%s'; test=test -n "$DISPLAY"
 image/x-djvu; zat '%s'; test=test -n "$DISPLAY"
+image/x-portable-anymap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-portable-arbitrarymap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-portable-bitmap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-portable-floatmap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-portable-graymap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-portable-pixmap; sxiv '%s'; test=test -n "$DISPLAY"
+image/x-xpixmap; sxiv '%s'; test=test -n "$DISPLAY"
 text/html; lynx -noreferer -partial -assume_charset=%{charset} -dump %s; copiousoutput; nametemplate=%s.html
 text/info; info '%s'; needsterminal
 text/plain; less '%s'; needsterminal
index 16a5c489eae728c586d67f4ecd02753ac80f0851..71080a377fd320a662859464fec13a8fc061a4bd 100644 (file)
@@ -6,5 +6,12 @@ image/jxl jxl
 image/png png
 image/webp webp
 image/x-djvu djvu
+image/x-portable-anymap pnm
+image/x-portable-arbitrarymap pam
+image/x-portable-bitmap pbm
+image/x-portable-floatmap pfm
+image/x-portable-graymap pgm
+image/x-portable-pixmap ppm
+image/x-xpixmap xpm
 text/info info
 text/plain txt