From 1476305c98a5c4fbcaee52d48bd8b991d19a0782 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 11 Oct 2025 18:40:04 -0500 Subject: [PATCH] Yazi improvements --- modules/user/yazi/default.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/modules/user/yazi/default.nix b/modules/user/yazi/default.nix index e3eda20..92a15fe 100644 --- a/modules/user/yazi/default.nix +++ b/modules/user/yazi/default.nix @@ -13,8 +13,41 @@ in { programs.yazi = { enable = true; enableZshIntegration = true; + theme.icon = { + dirs = [ + { name = ".config"; text = ""; } + { name = ".git"; text = ""; } + { name = ".github"; text = ""; } + { name = ".npm"; text = ""; } + { name = "Desktop"; text = ""; } + { name = "Development"; text = ""; } + { name = "Documents"; text = ""; } + { name = "Downloads"; text = ""; } + { name = "Library"; text = ""; } + { name = "Movies"; text = ""; } + { name = "Music"; text = ""; } + { name = "Pictures"; text = ""; } + { name = "Public"; text = ""; } + { name = "Videos"; text = ""; } + { name = "nixos"; text = ""; } + { name = "Archive"; text = ""; } + { name = "Media"; text = ""; } + { name = "Podcasts"; text = ""; } + { name = "Drive"; text = ""; } + { name = "KP"; text = ""; } + { name = "Books"; text = ""; } + { name = "Games"; text = ""; } + { name = "Game Saves"; text = ""; } + { name = "Templates"; text = ""; } + { name = "Notes"; text = ""; } + { name = "Projects"; text = ""; } + { name = "Screenshots"; text = ""; } + ]; + }; keymap.manager.prepend_keymap = [ + { run = "cd ~/Projects"; on = [ "g" "p" ]; desc = "Go to projects"; } + { run = "cd ~/Screenshots"; on = [ "g" "s" ]; desc = "Go to screenshots"; } { run = "shell ' \"$@\"' --cursor=0 --interactive"; on = [ "@" ]; } { run = "hidden toggle"; on = [ "" ]; } { run = "yank"; on = [ "y" "y" ]; }