From 5b133dbd86aaf54b0c728128f304c8dd8ebea9d1 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 29 Sep 2026 12:29:37 +0200 Subject: docs: Firefox and the terminal follow the scheme; stock waybar is gone udt-accent's docstrings and AGENTS.md still said colors.json was a fixed Macchiato palette. It has been built from udt_colors.PALETTE, which udt-palette generates per scheme, since schemes became switchable; the live file carries candy-night's colours. The terminal likewise follows the scheme, only never the wallpaper. The stock ~/.config/waybar/ has been deleted, so the notes explaining why install.sh leaves it alone now just record that it is gone. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index eaadbad..11add0a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -207,7 +207,7 @@ wallpaper changes; a placeholder would survive only the first run. The QML palette is the one output that is not only the accent: it carries the whole structural palette too, parsed out of `rofi/udt/palette.rasi` rather than duplicated in the script. That file stays the single place the -Macchiato values are written down. Quickshell components watch the generated +scheme's values are written down. Quickshell components watch the generated file and re-read it in place, so a palette edit reaches a running shell without restarting it; see the `quickshell` repo alongside this one. @@ -227,13 +227,13 @@ Running `wal -i` instead would rewrite all of `~/.cache/wal`, including the terminal's ANSI colours, and that is the exact failure this design exists to avoid. If you change `signature_color()`, verify it still writes nothing. -`colors.json` is rewritten wholesale rather than edited: a fixed Macchiato -palette with the accent -in the cursor and the two highlight slots. That is deliberate. pywalfox reads +`colors.json` is rewritten wholesale rather than edited: the scheme's palette +(`udt_colors.PALETTE`, generated by udt-palette) with the accent in the cursor +and the two highlight slots. That is deliberate. pywalfox reads `colors.json` and nothing else, so it is the only way Firefox can follow the accent, and overwriting it costs nothing because nothing else reads it. In particular kitty reads `~/.config/kitty/current-theme.conf`, not this file, so -the terminal palette stays fixed no matter what the wallpaper looks like. The +the terminal palette follows the scheme and never the wallpaper. The write lands after `wallp` has already run `wal --theme`, so it wins; reorder those two and pywal's wallpaper-derived colours come back. @@ -288,11 +288,8 @@ them by exit code: rofi exits non-zero for ordinary reasons such as Escape. already finished. Redirect its output when calling it from a script. - **The bar is not in `~/.config/waybar/`.** It is `waybar-theme-udt`, a separate repository with its own config directory, `~/.config/waybar-udt/`, - and hyprland's autostart launches that. The stock directory is still on disk - and nothing reads it, so `install.sh` deliberately writes no theme into it: - its stylesheets reference the per-module role names this generator no longer - emits, and a new theme there would leave it pointing at colours that do not - exist. See `templates/waybar/README.md`. + and hyprland's autostart launches that. The stock directory has been + deleted; `install.sh` never wrote into it. See `templates/waybar/README.md`. ## Editing rules -- cgit v1.2.3