From a401c0f4cf9d7a9d145a54cf143a69c3f927fb46 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Wed, 16 Jul 2025 19:18:30 +0200 Subject: [PATCH] Replace hyprpaper with wpaperd --- modules/home/de/hyprland/default.nix | 2 +- modules/home/services/wpaperd.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 modules/home/services/wpaperd.nix diff --git a/modules/home/de/hyprland/default.nix b/modules/home/de/hyprland/default.nix index 242b163..a83f50b 100644 --- a/modules/home/de/hyprland/default.nix +++ b/modules/home/de/hyprland/default.nix @@ -23,7 +23,7 @@ custom = { services = { - hyprpaper.enable = true; + wpaperd.enable = true; hypridle.enable = true; waybar.enable = true; cliphist.enable = true; diff --git a/modules/home/services/wpaperd.nix b/modules/home/services/wpaperd.nix new file mode 100644 index 0000000..ad16d31 --- /dev/null +++ b/modules/home/services/wpaperd.nix @@ -0,0 +1,14 @@ +{ config, lib, ... }: +{ + options.custom.services.wpaperd.enable = lib.mkEnableOption ""; + + config = lib.mkIf config.custom.services.wpaperd.enable { + services.wpaperd = { + enable = true; + settings.default = { + path = "${config.xdg.userDirs.pictures}/Wallpapers"; + duration = "30m"; + }; + }; + }; +}