From 041edc485cd81b2c564cbcaa3eb425c9ed5520e4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 23 Sep 2026 12:46:07 +0200 Subject: feat: stage the wallpaper on homepage and notify on completion bin/udt-homepage replaces install.sh's inline scp. It stages custom.css and the current wallpaper, keeping the wallpaper's own extension, then raises a desktop notification with the root commands that install both and point settings.yaml at the new background. Plain root commands, not sudo: the login user on that host has no sudo rights. udt-accent starts it detached on every run, so it follows a wallpaper change (wallp) as well as a scheme switch (install.sh) without holding either up when the host is unreachable. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 73f6b2c..490932d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -97,12 +97,16 @@ that block is templated. Signal, Discord and Spotify cannot be consumers: they ship closed bundles with no user-CSS hook, and patching a signed app bundle breaks on every update. -The homepage stylesheet is the one output that leaves this machine. -`install.sh` scp's it to `homepage:hp-stage/`, with a five second timeout and a -warning rather than a failure when the host is down, so installing the local -theme still works off that network. It stages only: `/opt/homepage/config` is -root-owned, and the final copy plus a `systemctl restart homepage` is a manual -step the script prints. homepage's `settings.yaml` must keep `color: gray`, the +The homepage stylesheet and the wallpaper are the outputs that leave this +machine. `bin/udt-homepage` scp's both to `homepage:hp-stage/`, the wallpaper +as `background.` with its own extension, and the finish command rewrites +`settings.yaml`'s `background.image` line to that name. +`udt-accent` starts it detached on every run, so it follows both a wallpaper +change and a scheme switch without holding either up; a five second timeout +and silence when the host is down keep it harmless off that network. It stages +only: `/opt/homepage` is root-owned, and the final copy plus a `systemctl +restart homepage` is a manual step, whose command arrives as a desktop +notification. homepage's `settings.yaml` must keep `color: gray`, the theme class the generated CSS targets. The last is imported by `udt-accent`, which is why its accent table follows the scheme. -- cgit v1.2.3