Yazi: Disable some openers.
This commit is contained in:
parent
7655aac145
commit
fdacf2991d
|
@ -31,14 +31,6 @@
|
||||||
orphan = true;
|
orphan = true;
|
||||||
run = openWith "xdg-open";
|
run = openWith "xdg-open";
|
||||||
}];
|
}];
|
||||||
archive = [{
|
|
||||||
desc = "Archive";
|
|
||||||
run = openWith "archive";
|
|
||||||
}];
|
|
||||||
archive_fast = [{
|
|
||||||
desc = "Archive Fast";
|
|
||||||
run = openWith "archive_fast";
|
|
||||||
}];
|
|
||||||
audio = [{
|
audio = [{
|
||||||
desc = "Audio";
|
desc = "Audio";
|
||||||
orphan = true;
|
orphan = true;
|
||||||
|
@ -74,10 +66,6 @@
|
||||||
orphan = true;
|
orphan = true;
|
||||||
run = openWith "gimp";
|
run = openWith "gimp";
|
||||||
}];
|
}];
|
||||||
mount = [{
|
|
||||||
desc = "Mount";
|
|
||||||
run = openWith "fmount";
|
|
||||||
}];
|
|
||||||
pdf = [{
|
pdf = [{
|
||||||
desc = "Pdf";
|
desc = "Pdf";
|
||||||
orphan = true;
|
orphan = true;
|
||||||
|
@ -93,11 +81,6 @@
|
||||||
orphan = true;
|
orphan = true;
|
||||||
run = openWith "mpv";
|
run = openWith "mpv";
|
||||||
}];
|
}];
|
||||||
unlock = [{
|
|
||||||
desc = "Unlock";
|
|
||||||
block = true;
|
|
||||||
run = openWith "funlock";
|
|
||||||
}];
|
|
||||||
unpack = [{
|
unpack = [{
|
||||||
desc = "Unpack";
|
desc = "Unpack";
|
||||||
run = openWith "unpack";
|
run = openWith "unpack";
|
||||||
|
@ -108,8 +91,6 @@
|
||||||
rules = let
|
rules = let
|
||||||
defaultUse = [
|
defaultUse = [
|
||||||
"text"
|
"text"
|
||||||
"archive"
|
|
||||||
"archive_fast"
|
|
||||||
"hex"
|
"hex"
|
||||||
];
|
];
|
||||||
mkMime = mime: use: {
|
mkMime = mime: use: {
|
||||||
|
@ -128,8 +109,6 @@
|
||||||
(mkMime "application/x-xz" [ "unpack" ])
|
(mkMime "application/x-xz" [ "unpack" ])
|
||||||
(mkMime "application/zip" [ "unpack" ])
|
(mkMime "application/zip" [ "unpack" ])
|
||||||
(mkMime "application/x-7z-compressed" [ "unpack" ])
|
(mkMime "application/x-7z-compressed" [ "unpack" ])
|
||||||
(mkMime "application/x-iso9660-image" [ "mount" ])
|
|
||||||
(mkMime "application/x-raw-disk-image" [ "unlock" ])
|
|
||||||
(mkMime "application/pdf" [ "pdf" ])
|
(mkMime "application/pdf" [ "pdf" ])
|
||||||
(mkMime "audio/*" [ "audio" ])
|
(mkMime "audio/*" [ "audio" ])
|
||||||
(mkName "*.mka" [ "audio" ])
|
(mkName "*.mka" [ "audio" ])
|
||||||
|
|
Loading…
Reference in a new issue