504 current 2024-04-28 21:41:48 24.05.20240428.30ddacc 6.8.6-zen1 *
This commit is contained in:
parent
0867d1de17
commit
80ddde4643
1 changed files with 4 additions and 13 deletions
|
|
@ -34,21 +34,12 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# systemd.user.services = {
|
||||
# swaybg = mkService {
|
||||
# Unit.Description = "Wallpaper chooser";
|
||||
# Service = {
|
||||
# ExecStart = "${lib.getExe pkgs.swaybg} -i ${theme.wallpaper}";
|
||||
# Restart = "always";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
systemd.user.services = {
|
||||
swww = mkService {
|
||||
Unit.Description = "Wallpaper Daemon";
|
||||
swaybg = mkService {
|
||||
Unit.Description = "Wallpaper chooser";
|
||||
Service = {
|
||||
ExecStart = "${pkgs.swww}/bin/swww-daemon && ${pkgs.swww}/bin/swww img ${theme.wallpaper}";
|
||||
ExecStart = "${lib.getExe pkgs.swaybg} -i ${theme.wallpaper}";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue