aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-23 12:46:07 +0200
committerDanilo M. <danix@danix.xyz>2026-09-23 12:46:07 +0200
commit041edc485cd81b2c564cbcaa3eb425c9ed5520e4 (patch)
treea0b8b8c2cb52db5b1862151577a3640c75cd40e8 /AGENTS.md
parent47dcb72c48e165154ef344588eed178c481a535c (diff)
downloadunified-desktop-theme-041edc485cd81b2c564cbcaa3eb425c9ed5520e4.tar.gz
unified-desktop-theme-041edc485cd81b2c564cbcaa3eb425c9ed5520e4.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md16
1 files changed, 10 insertions, 6 deletions
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.<ext>` 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.