From ea405da5bcb491dcb8f0b3b35f19841cfe9dce8a Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 31 Oct 2026 09:32:10 +0100 Subject: feat: copy the vertical wallpaper to a phone With PHONE_V set, every change of the vertical wallpaper is copied to that path, a fixed name inside a folder Syncthing shares with a phone, where a Termux loop applies it (script in the README). A copy, not a symlink, because Syncthing does not follow links. It is built in ~/.cache/wallp and moved into place, so Syncthing never sees a partial file. PHONE_SIZE (WxH) crops it to the phone screen, centred, with magick, as swaybg's fill does: Android otherwise scales a landscape image to the screen height and shows its left edge. A stamp of source and size skips an image already copied, so a --restore at login does not make the phone reapply it. Unset PHONE_V does nothing. Co-Authored-By: Claude Opus 5.5 --- wallp.conf.example | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wallp.conf.example') diff --git a/wallp.conf.example b/wallp.conf.example index 26cd444..8a28f7e 100644 --- a/wallp.conf.example +++ b/wallp.conf.example @@ -5,3 +5,8 @@ OUTPUT_V=DP-3 # Defaults used by --restore when no saved state exists. DEFAULT_H=~/Pictures/wallpapers/SFW/horizontal.png DEFAULT_V=~/Pictures/wallpapers/SFW/vertical.png +# Optional: copy the vertical wallpaper here on every change, for a phone +# that syncs this folder (see README). +#PHONE_V=~/Documents/phone-wallpaper.png +# Optional: crop to the phone screen, centred (WxH). Unset copies as is. +#PHONE_SIZE=1440x3120 -- cgit v1.2.3