mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 12:20:41 +00:00
Add yazi (terminal filemgr)
This commit is contained in:
parent
8d337e6a47
commit
aee32f4113
5 changed files with 304 additions and 0 deletions
41
home/programs/terminal/file-managers/yazi/default.nix
Normal file
41
home/programs/terminal/file-managers/yazi/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./theme/icons.nix
|
||||
./theme/manager.nix
|
||||
./theme/status.nix
|
||||
];
|
||||
|
||||
home.packages = [pkgs.exiftool];
|
||||
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
|
||||
enableBashIntegration = config.programs.bash.enable;
|
||||
enableZshIntegration = config.programs.zsh.enable;
|
||||
|
||||
settings = {
|
||||
manager = {
|
||||
layout = [1 4 3];
|
||||
sort_by = "alphabetical";
|
||||
sort_sensitive = true;
|
||||
sort_reverse = false;
|
||||
sort_dir_first = true;
|
||||
linemode = "none";
|
||||
show_hidden = false;
|
||||
show_symlink = true;
|
||||
};
|
||||
|
||||
preview = {
|
||||
tab_size = 2;
|
||||
max_width = 600;
|
||||
max_height = 900;
|
||||
cache_dir = "${config.xdg.cacheHome}/yazi";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue