This commit is contained in:
hand7s 2025-04-21 18:32:39 +03:00
commit b6cdc78668
210 changed files with 9929 additions and 0 deletions

61
hand7s/programs/yazi.nix Normal file
View file

@ -0,0 +1,61 @@
{
pkgs,
...
}: {
programs = {
yazi = {
enable = true;
enableFishIntegration = true;
shellWrapperName = "yz";
settings = {
manager = {
sort_by = "natural";
sort_sensitive = true;
sort_reverse = false;
sort_translit = true;
linemode = "size";
show_hidden = true;
show_symlink = true;
};
preview = {
tab_size = 4;
image_filter = "lanczos3";
image_quality = 90;
};
opener = {
play = [
{
run = "${pkgs.mpv}/bin/mpv ''$@''";
block = true;
for = "unix";
}
];
edit = [
{
run = "${pkgs.helix}/bin/hx ''$@''";
block = true;
for = "unix";
}
];
open = [
{
run = "${pkgs.xdg-utils}/bin/xdg-open ''$@''";
block = true;
for = "unix";
}
];
};
input = {
cursor_blink = true;
};
};
};
};
}