1
1
Fork 0

wallpaper: migrate to myne

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-08 22:11:04 -05:00
parent 39eebf7d2d
commit 2b88cdff39
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 2 additions and 2 deletions

View file

@ -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
# '';
# };

View file

@ -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