summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2021-09-25 12:34:51 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2021-09-25 12:34:51 -0400
commit7d5415747ee3128d7987d3eabbb21ea342c1bf7e (patch)
tree4e987425201c4943cee73326589608bf5eb98885 /config
parentbc5355103510be95da4f9bd8312c76e64327b506 (diff)
reformat mimetype.toml
Diffstat (limited to 'config')
-rw-r--r--config/mimetype.toml12
1 files changed, 8 insertions, 4 deletions
diff --git a/config/mimetype.toml b/config/mimetype.toml
index 24f1c0d..79e6cd4 100644
--- a/config/mimetype.toml
+++ b/config/mimetype.toml
@@ -1,23 +1,27 @@
[class]
audio_default = [
{ command = "mpv", args = [ "--" ] },
- { command = "mediainfo", confirm_exit = true } ]
+ { command = "mediainfo", confirm_exit = true },
+]
image_default = [
{ command = "qimgv", fork = true, silent = true },
{ command = "krita", fork = true, silent = true },
{ command = "mediainfo", confirm_exit = true },
- { command = "swappy", args = [ "-f" ], fork = true } ]
+ { command = "swappy", args = [ "-f" ], fork = true },
+]
video_default = [
{ command = "mpv", args = [ "--" ] , fork = true, silent = true },
{ command = "mediainfo", confirm_exit = true },
- { command = "mpv", args = [ "--mute", "on", "--" ], fork = true, silent = true } ]
+ { command = "mpv", args = [ "--mute", "on", "--" ], fork = true, silent = true },
+]
text_default = [
{ command = "micro" },
{ command = "gedit", fork = true, silent = true },
- { command = "bat", confirm_exit = true } ]
+ { command = "bat", confirm_exit = true },
+]
[extension]