From 8c2a4aa7c1fbf98019320e43bbca37d0bee6437a Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 17 Jul 2024 04:30:56 -0500 Subject: [PATCH] fix(hm/price): attach `swww-daemon` to `compositor.target` --- users/price/conf/swww-wallpapers/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/users/price/conf/swww-wallpapers/default.nix b/users/price/conf/swww-wallpapers/default.nix index fff94666..3c09ef51 100644 --- a/users/price/conf/swww-wallpapers/default.nix +++ b/users/price/conf/swww-wallpapers/default.nix @@ -24,10 +24,16 @@ in ExecStopPost = "${cleanup-socket-script}"; ExecStart = "${pkgs.swww}/bin/swww-daemon"; }; - Install.WantedBy = [ "graphical-session.target" ]; + Install.WantedBy = [ + "graphical-session.target" + "compositor.target" + ]; Unit = { Description = "Wayland Wallpaper Service"; - PartOf = [ "graphical-session.target" ]; + PartOf = [ + "graphical-session.target" + "compositor.target" + ]; After = [ "graphical-session.target" ]; }; };