From abfac8f1b75d7be20ef2e0a18a660f673e14b86a Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 30 Dec 2024 08:02:42 +0000 Subject: [PATCH] Fix activation of dynamic-wallpaper on system startup --- system/home/hyprland.nix | 4 ++-- system/home/swww.nix | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/system/home/hyprland.nix b/system/home/hyprland.nix index 5b555573..0091ea2a 100644 --- a/system/home/hyprland.nix +++ b/system/home/hyprland.nix @@ -163,8 +163,8 @@ "${config.wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${config.gtk.cursorTheme.name} ${toString config.gtk.cursorTheme.size}" "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "PASSWORD_STORE_DIR=/dev/null ${pkgs.protonmail-bridge}/bin/protonmail-bridge -n" - "sleep 5; systemctl --user restart dynamic-wallpaper.service" - "${pkgs.dex}/bin/dex -a" + "sleep 5; systemctl --user start dynamic-wallpaper.service" + "sleep 5; ${pkgs.dex}/bin/dex -a" ]; gestures.workspace_swipe = true; general = { diff --git a/system/home/swww.nix b/system/home/swww.nix index d92ed217..95b6c45d 100644 --- a/system/home/swww.nix +++ b/system/home/swww.nix @@ -34,7 +34,6 @@ in After = [ "graphical-session.target" ]; }; Service.ExecStart = "${pkgs.swww}/bin/swww-daemon"; - Install.WantedBy = [ "default.target" ]; }; dynamic-wallpaper = { Unit = { @@ -46,7 +45,6 @@ in Type = "oneshot"; ExecStart = "${dynamicWallpaper}/bin/dynamic-wallpaper"; }; - Install.WantedBy = [ "default.target" ]; }; }; timers.dynamic-wallpaper = {