summaryrefslogtreecommitdiffstats
path: root/config/mimetype.toml
blob: a30100e26082176f497bd137101dde5343c0cbd0 (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
130
131
132
133
134
135
136
137
138
139
140
[[entry]]
id	= 1
commands	= "nano"

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

[[entry]]
id	= 3
commands	= "bat"

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

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

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

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

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

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

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

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

[[entry]]
id	= 100
commands	= "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	= [ 11 ]
flac	= [ 11 ]

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

# Text
build	= [ 1, 2, 3 ]
c	= [ 1, 2, 3 ]
cmake	= [ 1, 2, 3 ]
conf	= [ 1, 2, 3 ]
cpp	= [ 1, 2, 3 ]
css	= [ 1, 2, 3 ]
go	= [ 1, 2, 3 ]
h	= [ 1, 2, 3 ]
hpp	= [ 1, 2, 3 ]
hs	= [ 1, 2, 3 ]
html	= [ 1, 2, 3 ]
ini	= [ 1, 2, 3 ]
java	= [ 1, 2, 3 ]
js	= [ 1, 2, 3 ]
kt	= [ 1, 2, 3 ]
log	= [ 1, 2, 3 ]
md	= [ 1, 2, 3 ]
ninja	= [ 1, 2, 3 ]
py	= [ 1, 2, 3 ]
rs	= [ 1, 2, 3 ]
sh	= [ 1, 2, 3 ]
toml	= [ 1, 2, 3 ]
xml	= [ 1, 2, 3 ]

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, 3 ]
audio	= [ 11 ]
video	= [ 10 ]
image	= [ 20, 21 ]