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 --- bin/udt-accent | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin') 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. # 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 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"]) -- cgit v1.2.3