Yazi: Simplify openers again.
This commit is contained in:
parent
04c2d2614e
commit
ed91ab0d23
|
@ -138,6 +138,7 @@
|
||||||
defaultUse = [
|
defaultUse = [
|
||||||
"archive"
|
"archive"
|
||||||
"archive_fast"
|
"archive_fast"
|
||||||
|
"text"
|
||||||
"hex"
|
"hex"
|
||||||
];
|
];
|
||||||
mkMime = mime: use: {
|
mkMime = mime: use: {
|
||||||
|
@ -168,10 +169,7 @@
|
||||||
])
|
])
|
||||||
(mkMime "video/*" [ "video" ])
|
(mkMime "video/*" [ "video" ])
|
||||||
(mkMime "text/html" [ "browser" ])
|
(mkMime "text/html" [ "browser" ])
|
||||||
(mkMime "text/*" [ "text" ])
|
|
||||||
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
|
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
|
||||||
(mkMime "inode/directory" [ "archive" ])
|
|
||||||
(mkMime "inode/x-empty" [ "text" ])
|
|
||||||
(mkMime "*" [ ])
|
(mkMime "*" [ ])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue