modularization
This commit is contained in:
parent
3599d9c057
commit
71e22f65bb
12 changed files with 173 additions and 145 deletions
35
modules/home-manager/cli/yazi.nix
Normal file
35
modules/home-manager/cli/yazi.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue