Regenerated

This commit is contained in:
2026-03-28 22:36:52 +00:00
parent c2521473b0
commit ae94915563
3 changed files with 333 additions and 294 deletions
+303 -290
View File
File diff suppressed because it is too large Load Diff
+15 -2
View File
@@ -2392,12 +2392,25 @@ in
serviceConfig.Restart = "on-failure";
};
systemd.user.services.wallpaperUpdaterTimer = {
description = "Copy changed wallpapers and set them per workspace";
after = [ "network.target" ];
serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = ''
mkdir -p ${wallpaperDst}
rsync -au --chmod=ugo+rx ${flakeRoot}/assets/traveldroid/Wallpapers/ ${wallpaperDst}/
chmod +x ${wallpaperDst}/set-wallpapers-per-workspace.sh
${wallpaperDst}/set-wallpapers-per-workspace.sh
'';
serviceConfig.Restart = "on-failure";
};
systemd.user.timers.wallpaperUpdaterTimer = {
description = "Run wallpaperUpdater service every 15 minutes";
wantedBy = [ "timers.target" ];
timerConfig.OnUnitActiveSec = "15min";
timerConfig.Persistent = true;
unit = "wallpaperUpdater.service";
wantedBy = [ "timers.target" ];
};
}
#+END_SRC
@@ -41,11 +41,24 @@ in
serviceConfig.Restart = "on-failure";
};
systemd.user.services.wallpaperUpdaterTimer = {
description = "Copy changed wallpapers and set them per workspace";
after = [ "network.target" ];
serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = ''
mkdir -p ${wallpaperDst}
rsync -au --chmod=ugo+rx ${flakeRoot}/assets/traveldroid/Wallpapers/ ${wallpaperDst}/
chmod +x ${wallpaperDst}/set-wallpapers-per-workspace.sh
${wallpaperDst}/set-wallpapers-per-workspace.sh
'';
serviceConfig.Restart = "on-failure";
};
systemd.user.timers.wallpaperUpdaterTimer = {
description = "Run wallpaperUpdater service every 15 minutes";
wantedBy = [ "timers.target" ];
timerConfig.OnUnitActiveSec = "15min";
timerConfig.Persistent = true;
unit = "wallpaperUpdater.service";
wantedBy = [ "timers.target" ];
};
}