From 59206710dca14e8e5ed889d7e11df9565cffdab7 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Sat, 2 Aug 2025 00:15:54 -0400 Subject: [PATCH] special bg service --- modules/nixos/desktop/tiler/swww.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/nixos/desktop/tiler/swww.nix b/modules/nixos/desktop/tiler/swww.nix index 780f5b1..9144dea 100644 --- a/modules/nixos/desktop/tiler/swww.nix +++ b/modules/nixos/desktop/tiler/swww.nix @@ -22,10 +22,12 @@ in description = "SWWW Background Manager"; path = [ pkgs.swww ]; script = '' - ${pkgs.swww}/bin/swww-daemon & - ${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no + ${pkgs.swww}/bin/swww-daemon ''; wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStartPost = "${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no"; + }; }; }; }