snowflake/home/wayland/services/hyprpaper.nix
2025-03-17 05:36:48 -04:00

29 lines
651 B
Nix

{
inputs,
pkgs,
...
}: {
home.packages = [pkgs.hyprpaper];
services.hyprpaper = let
verticalWallpaper = "~/dev/assets/wallpapers/miku/miku2.png";
horizontalWallpaper = "~/dev/assets/wallpapers/miku/miku.png";
in {
enable = true;
package = inputs.hyprpaper.packages.${pkgs.system}.default;
settings = {
ipc = true;
splash = false;
preload = [
verticalWallpaper
horizontalWallpaper
];
wallpaper = [
"HDMI-A-1,${verticalWallpaper}"
"DP-1,${horizontalWallpaper}"
"DP-2,${horizontalWallpaper}"
"DP-3,${verticalWallpaper}"
];
};
};
}