From 2b88cdff39e480523a7941b6d0e079b00ee5606d Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 8 Oct 2024 22:11:04 -0500 Subject: [PATCH] wallpaper: migrate to myne Signed-off-by: Myned --- machines/mynix/default.nix | 2 +- options/custom/scripts/wallpaper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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