From 8c39e606e3b777463e0da254784809235c48adde Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Sat, 29 Mar 2025 15:04:24 +0300 Subject: [PATCH] feat(yazi): add d drive shortcut --- modules/user/yazi.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/user/yazi.nix b/modules/user/yazi.nix index 3ea2c9f..394a7b7 100644 --- a/modules/user/yazi.nix +++ b/modules/user/yazi.nix @@ -55,6 +55,11 @@ in { on = [ "" ]; run = ''shell '${lib.getExe pkgs.xdragon} -x -i -T "$@"' --confirm''; } + { + on = [ "g" "" ]; + run = ''cd /mnt/D''; + desc = "Goto D drive"; + } ]; }; };