forked from javif89/nix
24 lines
370 B
Nix
24 lines
370 B
Nix
{
|
|
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";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|