nix/modules/home/common/yazi.nix
cartierf89 b5dfc7998d nix os
2025-08-19 11:52:43 -04:00

24 lines
370 B
Nix
Executable File

{
config,
pkgs,
inputs,
...
}:
{
programs.yazi = {
enable = true;
keymap = {
manager.prepend_keymap = [
{
on = [
"b"
"g"
];
run = "shell 'hyprctl hyprpaper preload \"$0\" && hyprctl hyprpaper wallpaper \", $0\"'";
desc = "Set as wallpaper";
}
];
};
};
}