From 5c6b30029671f946a617a376450037a925c30eb6 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 16 Sep 2026 08:37:31 +0200 Subject: refactor(theme): read the palette from ~/.cache/udt unified-desktop-theme moved its generated files out of ~/.cache/wal, which pywal used to own and nothing writes any more. The palette udt-accent generates is now at ~/.cache/udt/udt-palette.qml. shared/Theme.qml is the only code change; every component reaches it through a symlink. The module READMEs cite the path, so they move with it. Co-Authored-By: Claude Opus 5 --- desktop/modules/mail/README.md | 2 +- desktop/modules/sound/README.md | 2 +- desktop/modules/vm/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/modules/mail/README.md b/desktop/modules/mail/README.md index 92e4dab..3b9f89e 100644 --- a/desktop/modules/mail/README.md +++ b/desktop/modules/mail/README.md @@ -245,7 +245,7 @@ is not worth a timer. ## Theme and blur `Theme.qml` is a symlink to `shared/Theme.qml`: the palette comes from -`~/.cache/wal/udt-palette.qml` and is watched. Sharing one file is what keeps +`~/.cache/udt/udt-palette.qml` and is watched. Sharing one file is what keeps the palette from drifting into per-component copies. Frosting is Hyprland's, matched on this window's namespace: diff --git a/desktop/modules/sound/README.md b/desktop/modules/sound/README.md index dd42de2..72db235 100644 --- a/desktop/modules/sound/README.md +++ b/desktop/modules/sound/README.md @@ -122,7 +122,7 @@ it just renders flat translucent instead of frosted. ## Theme `Theme.qml` holds no palette of its own beyond a fallback. The colours come -from `~/.cache/wal/udt-palette.qml`, which `udt-accent` generates on every +from `~/.cache/udt/udt-palette.qml`, which `udt-accent` generates on every wallpaper change from unified-desktop-theme's `palette.rasi`, carrying the whole Macchiato palette plus the accent snapped from the wallpaper. diff --git a/desktop/modules/vm/README.md b/desktop/modules/vm/README.md index fbb7bde..ae656e3 100644 --- a/desktop/modules/vm/README.md +++ b/desktop/modules/vm/README.md @@ -120,7 +120,7 @@ nowhere to go: the process output is not attached to a terminal. ## Theme `Theme.qml` carries only fallbacks. The palette comes from -`~/.cache/wal/udt-palette.qml`, generated by `udt-accent` from +`~/.cache/udt/udt-palette.qml`, generated by `udt-accent` from unified-desktop-theme's `palette.rasi`, and is watched: editing the palette there recolours a running drawer without restarting it. State dots use the green, yellow and red from that palette. -- cgit v1.2.3