summaryrefslogtreecommitdiffstats
path: root/config
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
parent2fd5508cf2e4fd2addcc13f2d77eafb571004271 (diff)
move mimetype config out of joshuto.toml into mimetype.toml
Diffstat (limited to 'config')
-rw-r--r--config/joshuto.toml10
-rw-r--r--config/mimetype.toml22
2 files changed, 22 insertions, 10 deletions
diff --git a/config/joshuto.toml b/config/joshuto.toml
index 6b43579..c9cc2bb 100644
--- a/config/joshuto.toml
+++ b/config/joshuto.toml
@@ -12,13 +12,3 @@ column_ratio = [1, 3, 4]
# does nothing so far
scroll_offset = 8
-
-# 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"] ]
-
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"]
+]