diff --git a/machines/mynix/default.nix b/machines/mynix/default.nix index 5c2fac2..1aa90a2 100644 --- a/machines/mynix/default.nix +++ b/machines/mynix/default.nix @@ -96,7 +96,7 @@ # #!! Hostname dependent # script = '' - # rsync --chown caddy:caddy "$(variety --current)" root@myarm:/srv/static/wallpaper.png + # rsync --chown caddy:caddy "$(variety --current)" root@myne:/srv/static/wallpaper.png # ''; # }; diff --git a/options/custom/scripts/wallpaper.sh b/options/custom/scripts/wallpaper.sh index 8ada740..e2e28a7 100644 --- a/options/custom/scripts/wallpaper.sh +++ b/options/custom/scripts/wallpaper.sh @@ -27,7 +27,7 @@ while true; do # Send unaltered image to server in background #!! Hostname dependent - rsync --chown caddy:caddy "$WALLPAPER" root@myarm:"$STATIC" || notify-send --urgency critical '> wallpaper' 'Upload failed' & + rsync --chown caddy:caddy "$WALLPAPER" root@myne:"$STATIC" || notify-send --urgency critical '> wallpaper' 'Upload failed' & sleep "$INTERVAL"m done