Files
nix-config/modules/hosts/tux/users/weckyy702/wallpaper.nix
T

40 lines
886 B
Nix

{ inputs, ... }: {
flake-file.inputs = {
aghpb = {
url = "github:cat-milk/Anime-Girls-Holding-Programming-Books";
flake = false;
};
orly-covers = {
url = "github:thepracticaldev/orly-full-res";
flake = false;
};
};
flake.modules.homeManager.randomized-aghpb-wallpaper = { pkgs, ... }:
let
combined_wallpapers = pkgs.symlinkJoin {
name = "joined-wallpapers";
paths = with inputs; [
aghpb
orly-covers
];
};
in
{
imports = with inputs.self.factory; [
(wpaperd {
default = {
path = combined_wallpapers;
recursive = true;
mode = "stretch";
duration = "5m";
};
})
];
wayland.windowManager.hyprland.settings.bind = [
"$mod, i, exec, wpaperctl next"
];
};
}