From fdacf2991d55b9875312dad1709ace3d912895cc Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 17 Nov 2024 20:59:17 +0300 Subject: [PATCH] Yazi: Disable some openers. --- home/file/yazi/module/Yazi.nix | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/home/file/yazi/module/Yazi.nix b/home/file/yazi/module/Yazi.nix index d966a941..9b8e337d 100644 --- a/home/file/yazi/module/Yazi.nix +++ b/home/file/yazi/module/Yazi.nix @@ -31,14 +31,6 @@ orphan = true; run = openWith "xdg-open"; }]; - archive = [{ - desc = "Archive"; - run = openWith "archive"; - }]; - archive_fast = [{ - desc = "Archive Fast"; - run = openWith "archive_fast"; - }]; audio = [{ desc = "Audio"; orphan = true; @@ -74,10 +66,6 @@ orphan = true; run = openWith "gimp"; }]; - mount = [{ - desc = "Mount"; - run = openWith "fmount"; - }]; pdf = [{ desc = "Pdf"; orphan = true; @@ -93,11 +81,6 @@ orphan = true; run = openWith "mpv"; }]; - unlock = [{ - desc = "Unlock"; - block = true; - run = openWith "funlock"; - }]; unpack = [{ desc = "Unpack"; run = openWith "unpack"; @@ -108,8 +91,6 @@ rules = let defaultUse = [ "text" - "archive" - "archive_fast" "hex" ]; mkMime = mime: use: { @@ -128,8 +109,6 @@ (mkMime "application/x-xz" [ "unpack" ]) (mkMime "application/zip" [ "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 "audio/*" [ "audio" ]) (mkName "*.mka" [ "audio" ])