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 --- shared/Theme.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared') diff --git a/shared/Theme.qml b/shared/Theme.qml index 6f172e7..51ed5cf 100644 --- a/shared/Theme.qml +++ b/shared/Theme.qml @@ -16,7 +16,7 @@ import Quickshell.Io import QtQuick // The palette comes from unified-desktop-theme: udt-accent writes -// ~/.cache/wal/udt-palette.qml on every wallpaper change, holding the +// ~/.cache/udt/udt-palette.qml on every wallpaper change, holding the // Macchiato colours from its palette.rasi plus the accent snapped from the // wallpaper. Watching that file is what makes a theme edit show up here. // @@ -49,7 +49,7 @@ Singleton { // without a qmldir next to it, and the cache directory has no reason to // carry one. The format is fixed and machine-written, so a regex is enough. FileView { - path: `${Quickshell.env("HOME")}/.cache/wal/udt-palette.qml` + path: `${Quickshell.env("HOME")}/.cache/udt/udt-palette.qml` watchChanges: true onFileChanged: reload() onLoaded: { -- cgit v1.2.3