aboutsummaryrefslogtreecommitdiffstats
path: root/wallp.conf.example
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-31 09:32:10 +0100
committerDanilo M. <danix@danix.xyz>2026-10-31 09:32:10 +0100
commitea405da5bcb491dcb8f0b3b35f19841cfe9dce8a (patch)
treed156ff80a905095452aa0a92014f8100e66ac66b /wallp.conf.example
parent845e6d3f393811bdc78833c9457d9768e685e572 (diff)
downloadwallp-ea405da5bcb491dcb8f0b3b35f19841cfe9dce8a.tar.gz
wallp-ea405da5bcb491dcb8f0b3b35f19841cfe9dce8a.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'wallp.conf.example')
-rw-r--r--wallp.conf.example5
1 files changed, 5 insertions, 0 deletions
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