diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-11 18:23:41 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-11 18:23:41 +0200 |
| commit | 1f37c129ac0b72fd2e177618ae6aed5f4233873d (patch) | |
| tree | d0a6bc9698474207b8ded528f5830c57cde5267f /AGENTS.md | |
| parent | 90d92490f83156a4a90c44b3837f1037cec80132 (diff) | |
| download | unified-desktop-theme-1f37c129ac0b72fd2e177618ae6aed5f4233873d.tar.gz unified-desktop-theme-1f37c129ac0b72fd2e177618ae6aed5f4233873d.zip | |
feat(palette): generate the homepage stylesheet and stage it on install
The dashboard's custom.css was written by hand against Macchiato, so it would
have drifted the moment the desktop changed scheme. It is now generated from
the same roles as everything else and staged on the host by install.sh.
Adds four intermediate grey roles to every scheme. homepage wants a full
ten-step ramp where the other consumers want three depths, and without them
several steps collapsed onto the same colour, flattening the mid-tones.
The scp is deliberately soft: five second timeout, BatchMode, a warning rather
than a failure when the host is unreachable, so a laptop away from that network
still installs the local theme. It stages to ~/hp-stage only, because
/opt/homepage/config is root-owned; install.sh prints the sudo copy to finish.
Verified: the generated Macchiato stylesheet reproduces the deployed one
colour-for-colour, switching to tokyo-night propagates through to the staged
file, and a failing scp leaves install.sh exiting 0.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -34,7 +34,16 @@ Generated files are gitignored, because tracking them would turn every scheme switch into a diff. Editing one is pointless: the next install overwrites it. The generated set is `rofi/udt/palette.rasi`, `templates/dunstrc`, `templates/conky.conf`, `templates/waybar/theme.css`, -`templates/terminal/kitty-theme.conf` and `bin/udt_colors.py`. The last is +`templates/terminal/kitty-theme.conf`, `templates/homepage/custom.css` and +`bin/udt_colors.py`. + +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 +theme class the generated CSS targets. The last is imported by `udt-accent`, which is why its accent table follows the scheme. Roles are a flat namespace, so a name collides across sections: conky's outline |
