From c0f08529c8e2f3c6f93103d34b1ff99ed85e63b9 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 9 Dec 2024 09:31:27 +0300 Subject: [PATCH] Yazi: Add switch_install. --- home/file/yazi/module/Yazi.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/file/yazi/module/Yazi.nix b/home/file/yazi/module/Yazi.nix index 31b03f9..5ce9e5e 100644 --- a/home/file/yazi/module/Yazi.nix +++ b/home/file/yazi/module/Yazi.nix @@ -92,6 +92,10 @@ orphan = true; run = openWith "evince"; }]; + switch_install = [{ + desc = "Switch Install"; + run = openWith "switch_install"; + }]; unlock = [{ desc = "Unlock"; block = true; @@ -142,6 +146,8 @@ (mkMime "application/pdf" [ "pdf" ]) (mkMime "audio/*" [ "audio" ]) (mkName "*.mka" [ "audio" ]) + (mkName "*.nsp" [ "switch_install" ]) + (mkName "*.nsz" [ "switch_install" ]) (mkMime "image/*" [ "picture" "picture_copy" "picture_edit" "picture_edit_quick" ]) (mkMime "video/*" [ "video" ]) (mkMime "text/html" [ "browser" ])