aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/AGENTS.md b/AGENTS.md
index afb685a..e874127 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -199,14 +199,16 @@ One colour moves: `@accent`. `bin/udt-accent` reads the current wallpaper,
extracts its signature colour, and snaps it to the nearest of ten Catppuccin
accents by perceptual hue in CIELAB. `wallp` calls it on every wallpaper change.
-It writes seven things: `~/.cache/udt/udt-accent.rasi` (rofi),
+It writes nine things: `~/.cache/udt/udt-accent.rasi` (rofi),
`~/.cache/udt/udt-border.lua` (Hyprland), `~/.cache/udt/hyprlock-border.conf`
(hyprlock, the same three hues as the window border, as a hyprlang gradient),
`~/.cache/wal/colors.json` (Firefox, via pywalfox),
`~/.cache/udt/udt-palette.qml` (quickshell),
`~/.local/share/udt/sddm-theme.conf` (the SDDM greeter, palette plus wallpaper,
read through a root-made `theme.conf.user` symlink), and the accent
-substitution in Sublime's installed `Packages/User/udt.sublime-color-scheme`.
+substitution in three generated files: Sublime's installed
+`Packages/User/udt.sublime-color-scheme`, grub-theme-udt's `theme.txt` (its
+`# udt:` line) and `templates/homepage/custom.css` (its `--udt-accent` line).
It then starts `udt-homepage` and `udt-grub` detached, for the two outputs
that need a root step on another filesystem or host, and `udt-keyboard`, which
lights an Ajazz AK820 Pro in the accent through `ak820-ctl` (a no-op without
@@ -215,7 +217,11 @@ started from hypr-theme's autostart, reapplies the accent on every plug-in. Its
firmware ignores a mode change unless the lights go off first and settle for a
few seconds, hence the off, sleep 3, mode sequence; one second was not enough.
-**Sublime's accent is replaced, not substituted into a placeholder.** Its
+**Sublime's, GRUB's and the homepage's accents are replaced, not substituted
+into a placeholder.** GRUB and the homepage are generated by udt-palette with
+the scheme's accent, then rewritten in place, before `udt-grub` and
+`udt-homepage` start. Both already refresh on every wallpaper change for the
+wallpaper itself, so following the accent adds no root step. Sublime's
colour scheme cannot cascade, so the accent has to live in the one generated
file rather than arriving as a second one, and `install.sh` copies that file
out of the repo. `write_sublime` therefore rewrites the `"accent"` variable
@@ -266,7 +272,7 @@ those two and pywal's wallpaper-derived colours come back.
Not everything tracks the wallpaper. rofi, quickshell, Hyprland borders,
hyprlock's border (through `~/.cache/udt/hyprlock-border.conf`), Sublime's
-colour scheme, Firefox and the AK820 Pro keyboard do; conky, Qt, GTK, waybar, hyprlock's panel palette
+colour scheme, Firefox, GRUB, the homepage and the AK820 Pro keyboard do; conky, Qt, GTK, waybar, hyprlock's panel palette
(from `templates/hyprlock/hyprlock-palette.conf`) and Sublime's UI chrome sit
on the scheme's accent, lavender by default, which is also the fallback
when a wallpaper is too grey to snap. Qt and GTK apps only reread a theme on restart,