summaryrefslogtreecommitdiffstats
path: root/config/mimetype.toml
blob: 4d019de55df22a1c6f1eed3a9626c4f58485a916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[[entry]]
id	= 1
program	= "nano"

[[entry]]
id	= 2
program	= "gedit"
fork	= true
silent	= true

[[entry]]
id	= 10
program	= "mpv"
fork	= true
silent	= true

[[entry]]
id	= 11
program	= "mpv"

[[entry]]
id	= 20
program	= "qimgv"
fork	= true
silent	= true

[[entry]]
id	= 21
program	= "krita"
fork	= true
silent	= true

[[entry]]
id	= 50
program	= "pdflatex"

[[entry]]
id	= 55
program	= "evince"
fork	= true
silent	= true

[[entry]]
id	= 60
program	= "tar"
args	= [ "-xvzf" ]
[[entry]]
id	= 61
program	= "tar"
args	= [ "-xvJf" ]
[[entry]]
id	= 62
program	= "tar"
args	= [ "-xvjf" ]

[[entry]]
id	= 70
program	= "unrar"
args	= [ "e" ]
[[entry]]
id	= 80
program	= "unzip"

[[entry]]
id	= 100
program	= "libreoffice"
fork	= true
silent	= true

# specify which applications to use to open certain file types
[extension]
## Image
bmp	= [ 20, 21 ]
gif	= [ 20, 21 ]
jpg	= [ 20, 21 ]
jpeg	= [ 20, 21 ]
png	= [ 20, 21 ]
tiff	= [ 20, 21 ]

## Audio
mp3	= [ 10 ]
flac	= [ 10 ]

## Video
avi	= [ 10 ]
av1	= [ 10 ]
mkv	= [ 10 ]
mp4	= [ 10 ]
wmv	= [ 10 ]

# Text
c	= [ 1, 2 ]
conf	= [ 1, 2 ]
cpp	= [ 1, 2 ]
css	= [ 1, 2 ]
go	= [ 1, 2 ]
hs	= [ 1, 2 ]
html	= [ 1, 2 ]
java	= [ 1, 2 ]
js	= [ 1, 2 ]
kt	= [ 1, 2 ]
log	= [ 1, 2 ]
md	= [ 1, 2 ]
py	= [ 1, 2 ]
rs	= [ 1, 2 ]
sh	= [ 1, 2 ]
toml	= [ 1, 2 ]
xml	= [ 1, 2 ]

tex	= [ 1, 50 ]

# Archives
bz2	= [ 62 ]
gz	= [ 60 ]
rar	= [ 70 ]
xz	= [ 61 ]
zip	= [ 80 ]

# Misc
odt	= [ 100 ]
odf	= [ 100 ]
pdf	= [ 55 ]

[mimetype]

text	= [ 1, 2 ]
audio	= [ 11 ]
video	= [ 10 ]
image	= [ 20, 21 ]