From 8ca4991fd7ef1dbc260c896dbd5685c4477415d7 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Tue, 17 Mar 2026 18:37:32 +0000 Subject: [PATCH] new wallpaperthingie --- .../hyprland/decorations/rotating_wallpaper.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix index f2c067107..e717fb4b6 100644 --- a/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix +++ b/Droidnix/generated/hyprland/decorations/rotating_wallpaper.nix @@ -1,4 +1,3 @@ -# file: configuration.nix snippet { config, pkgs, @@ -22,6 +21,7 @@ in systemd.user.services.wpaperd = { description = "wpaperd wallpaper daemon"; after = [ "default.target" ]; + enable = true; # <-- Must be set for user services serviceConfig = { Type = "simple"; @@ -30,18 +30,17 @@ in RestartSec = 1; }; - install = { - WantedBy = [ "default.target" ]; - }; + # Optional: make it start on login (default.target) + wantedBy = [ "default.target" ]; }; - # Optional: ensure the directory exists + # Optional: ensure the directory exists at activation system.activationScripts.copyWallpaperConf = { text = '' echo "=== Ensuring wallpaper config exists ===" mkdir -p "${wallpaperDir}/pictures" if [ ! -f "${wallpaperConf}" ]; then - touch "${wallpaperConf}" + touch "${wallpaperConf}" fi echo "Done." '';