Regenerated

This commit is contained in:
2026-03-29 13:18:32 +00:00
parent 699a351441
commit c8f0375ecf
3 changed files with 315 additions and 321 deletions
+294 -296
View File
File diff suppressed because it is too large Load Diff
+6 -8
View File
@@ -2379,24 +2379,22 @@ in
]; ];
############################ ############################
# Ensure swww daemon runs # User systemd service to start swww, sync wallpapers, and run the script
############################
services.swww.enable = true;
############################
# User systemd service to sync wallpapers and run script
############################ ############################
systemd.user.services.wallpaperSync = { systemd.user.services.wallpaperSync = {
description = "Sync Wallpapers and run set-wallpapers-at-logon.sh"; description = "Start swww, sync Wallpapers and run set-wallpapers-at-logon.sh";
wants = [ "graphical-session.target" ]; wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ]; after = [ "graphical-session.target" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = '' serviceConfig.ExecStart = ''
# Start swww daemon if not running
pgrep swww >/dev/null 2>&1 || swww &
# Ensure destination exists # Ensure destination exists
mkdir -p ${wallpaperDst} mkdir -p ${wallpaperDst}
# Copy wallpapers: overwrite newer files, do not delete existing files # Copy wallpapers: overwrite newer files, do not delete existing
rsync -au --ignore-existing ${wallpaperSrc}/ ${wallpaperDst}/ rsync -au --ignore-existing ${wallpaperSrc}/ ${wallpaperDst}/
rsync -au ${wallpaperSrc}/ ${wallpaperDst}/ rsync -au ${wallpaperSrc}/ ${wallpaperDst}/
@@ -19,24 +19,22 @@ in
]; ];
############################ ############################
# Ensure swww daemon runs # User systemd service to start swww, sync wallpapers, and run the script
############################
services.swww.enable = true;
############################
# User systemd service to sync wallpapers and run script
############################ ############################
systemd.user.services.wallpaperSync = { systemd.user.services.wallpaperSync = {
description = "Sync Wallpapers and run set-wallpapers-at-logon.sh"; description = "Start swww, sync Wallpapers and run set-wallpapers-at-logon.sh";
wants = [ "graphical-session.target" ]; wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ]; after = [ "graphical-session.target" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = '' serviceConfig.ExecStart = ''
# Start swww daemon if not running
pgrep swww >/dev/null 2>&1 || swww &
# Ensure destination exists # Ensure destination exists
mkdir -p ${wallpaperDst} mkdir -p ${wallpaperDst}
# Copy wallpapers: overwrite newer files, do not delete existing files # Copy wallpapers: overwrite newer files, do not delete existing
rsync -au --ignore-existing ${wallpaperSrc}/ ${wallpaperDst}/ rsync -au --ignore-existing ${wallpaperSrc}/ ${wallpaperDst}/
rsync -au ${wallpaperSrc}/ ${wallpaperDst}/ rsync -au ${wallpaperSrc}/ ${wallpaperDst}/