modularization

This commit is contained in:
tulg 2026-01-10 18:00:49 +03:00
parent 3599d9c057
commit 71e22f65bb
12 changed files with 173 additions and 145 deletions

View file

@ -0,0 +1,35 @@
{
config,
pkgs,
...
}: {
programs.yazi = {
enable = true;
settings = {
mgr = {
ratio = [1 1 6];
};
preview = {
max_width = 1000;
max_height = 900;
};
tasks = {
image_bound = [0 0];
};
keymap = {
mgr.prepend_keymap = [
{
on = "x";
for = "linux";
run = "shell -- hyprctl hyprpaper wallpaper ,%h";
desc = "Set hovered file as wallpaper";
}
];
};
};
};
}