special bg service

This commit is contained in:
ari committed 2025-08-02 00:15:54 -04:00
1 parent e220e249aa
commit 59206710dc
1 file changed
+4 -2
+4 -2
View File
@@ -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";
};
};
};
}