aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-11 16:30:21 +0200
committerDanilo M. <danix@danix.xyz>2026-09-11 16:30:21 +0200
commit842f25460ba7034e8828e37b9e9431d5a2d11afa (patch)
treea054ed06a6a102fb9dd35123ce1884c3c9aa81bc /README.md
parentdc4e324522acfdfbc661ae95089c96854eca6eb0 (diff)
downloadunified-desktop-theme-842f25460ba7034e8828e37b9e9431d5a2d11afa.tar.gz
unified-desktop-theme-842f25460ba7034e8828e37b9e9431d5a2d11afa.zip
feat(accent): generate a QML palette for quickshell
udt-accent now writes ~/.cache/wal/udt-palette.qml alongside the accent, border and colors.json it already produced. Quickshell components read it and watch it, so editing the palette here recolours a running shell without restarting it. Unlike the other outputs this one is not only the accent: it carries the structural colours too. Those are parsed out of rofi/udt/palette.rasi rather than restated in the script, so that file stays the single place the Macchiato values are written down. Hardcoding them a second time here is exactly the drift this is meant to remove: the quickshell components each had their own copy before this. The atomic write that write_border already did by hand is now a helper, write_atomic, used by both. Every generated file is watched by something, and a torn read shows up as a theme that briefly loses its colours. colors.json is untouched by this change, verified by running the script before and after and comparing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G7NRsGyF9jGfPYS4zPqpN7
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5d74791..772e969 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,11 @@ Macchiato accent, so it can never render as unreadable.
Phase 1 covers rofi. Later phases extend the same palette to waybar, dunst,
conky, hyprland and quickshell.
+Quickshell reads the palette rather than restating it: `udt-accent` writes
+`~/.cache/wal/udt-palette.qml` from `rofi/udt/palette.rasi`, and the
+components in the `quickshell` repo watch that file, so editing the palette
+here recolours them without a restart.
+
## Layout
rofi/udt/ the theme files