summaryrefslogtreecommitdiffstats
path: root/config/mimetype.toml
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2018-12-23 21:57:29 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2018-12-23 21:57:29 -0500
commit819891b51f5172640aacfa7c6ee5bc438b35bba3 (patch)
treee5b210395b81b797f42d1e55b4c890a4675d09b3 /config/mimetype.toml
parent2fd5508cf2e4fd2addcc13f2d77eafb571004271 (diff)
move mimetype config out of joshuto.toml into mimetype.toml
Diffstat (limited to 'config/mimetype.toml')
-rw-r--r--config/mimetype.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/mimetype.toml b/config/mimetype.toml
new file mode 100644
index 0000000..ecac788
--- /dev/null
+++ b/config/mimetype.toml
@@ -0,0 +1,22 @@
+# specify which applications to use to open certain file types
+[mimetypes]
+"application/x-matroska" = [
+ ["mpv"]
+]
+"application/x-shellscript" = [
+ ["nano"],
+ ["gedit"]
+]
+"image/jpeg" = [
+ ["qimgv"],
+ ["feh"]
+]
+"image/png" = [
+ ["feh", "-F"]
+]
+"text/plain" = [
+ ["nano"]
+]
+"text/x-csrc" = [
+ ["nano"]
+]