aboutsummaryrefslogtreecommitdiffstats
path: root/shared/Theme.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-16 08:37:31 +0200
committerDanilo M. <danix@danix.xyz>2026-09-16 08:37:31 +0200
commit5c6b30029671f946a617a376450037a925c30eb6 (patch)
tree96ae863552202ee40e20e13586e9ea84fe59c2d6 /shared/Theme.qml
parentd320a7ad71cf2426f54fb6b9cbc33bf86149ff56 (diff)
downloadquickshell-5c6b30029671f946a617a376450037a925c30eb6.tar.gz
quickshell-5c6b30029671f946a617a376450037a925c30eb6.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'shared/Theme.qml')
-rw-r--r--shared/Theme.qml4
1 files changed, 2 insertions, 2 deletions
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: {