aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 12:29:37 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 12:29:37 +0200
commit5b133dbd86aaf54b0c728128f304c8dd8ebea9d1 (patch)
tree633285fd24965339a2794ab67afdc3f6447adad1
parent261a623de6e214a2f7f143c3ab72a5dd4a117f5c (diff)
downloadunified-desktop-theme-5b133dbd86aaf54b0c728128f304c8dd8ebea9d1.tar.gz
unified-desktop-theme-5b133dbd86aaf54b0c728128f304c8dd8ebea9d1.zip
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 <noreply@anthropic.com>
-rw-r--r--AGENTS.md17
-rwxr-xr-xbin/udt-accent9
-rw-r--r--templates/waybar/README.md14
3 files changed, 18 insertions, 22 deletions
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
diff --git a/bin/udt-accent b/bin/udt-accent
index 1027fab..31798cc 100755
--- a/bin/udt-accent
+++ b/bin/udt-accent
@@ -1,9 +1,9 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only
-# udt-accent: pick a Catppuccin Macchiato accent matching a wallpaper.
+# udt-accent: pick the scheme accent matching a wallpaper.
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
# Licensed under the GNU General Public License v2 only.
-"""Extract a wallpaper's signature color and snap it to a Macchiato accent.
+"""Extract a wallpaper's signature color and snap it to one of the scheme's accents.
Usage: udt-accent <wallpaper-path>
udt-accent --selftest
@@ -300,12 +300,13 @@ def write_qml(name):
def write_colors_json(name, image):
- """Rewrite colors.json as Macchiato with the accent in the highlight slots.
+ """Rewrite colors.json as the scheme's palette with the accent in the highlight slots.
pywalfox reads this file and nothing else, so this is how Firefox tracks the
wallpaper. pywal wrote the file moments earlier with wallpaper-derived ANSI
colours; this replaces them wholesale, which is the point: the terminal
- palette stays fixed Macchiato while only the accent moves.
+ palette stays the scheme's (udt_colors.PALETTE, which udt-palette
+ generates) while only the accent moves.
"""
hexval = ACCENTS[name]
colors = list(PALETTE["colors"])
diff --git a/templates/waybar/README.md b/templates/waybar/README.md
index a69f228..7e4eb09 100644
--- a/templates/waybar/README.md
+++ b/templates/waybar/README.md
@@ -40,14 +40,12 @@ backgrounds so it read as stripes, and carried a role per module to do it:
`roles-*.conf` and from `gen_waybar`. Re-adding one means a stylesheet that
actually references it.
-## The stock config is left alone
-
-`~/.config/waybar/` is still on disk and nothing launches it: hyprland's
-autostart runs the new bar instead. Its stylesheets still reference the
-per-module names above, which this generator no longer emits, so `install.sh`
-deliberately does **not** write a theme into it. Writing one would leave it
-referencing colours that do not exist, which is worse than leaving it exactly
-as it was last known to work.
+## The stock config is gone
+
+`~/.config/waybar/` was the stock bar, which nothing launched once hyprland's
+autostart switched to the new one. It has been deleted. `install.sh` never
+wrote a theme into it: its stylesheets referenced the per-module names above,
+which this generator no longer emits.
## Reloading