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"; description = "SWWW Background Manager";
path = [ pkgs.swww ]; path = [ pkgs.swww ];
script = '' script = ''
${pkgs.swww}/bin/swww-daemon & ${pkgs.swww}/bin/swww-daemon
${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no
''; '';
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStartPost = "${pkgs.swww}/bin/swww img ${cfg.background.imagePath} --resize no";
};
}; };
}; };
} }