diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -109,7 +109,7 @@ No component defines a palette. `udt-accent`, in the `unified-desktop-theme` repo alongside this one, writes `~/.cache/wal/udt-palette.qml` from its `palette.rasi`, carrying the whole Catppuccin Macchiato palette plus the accent snapped from the current -wallpaper. Each `Theme.qml` parses and watches that file, so a palette edit +wallpaper. `Theme.qml` parses and watches that file, so a palette edit recolours a running shell with no restart. What is left in `Theme.qml` is a fallback for before the file is read, and for @@ -120,6 +120,16 @@ The file is parsed rather than imported because a generated QML singleton cannot be imported without a `qmldir` beside it, and the wal cache has no reason to carry one. +There is one `Theme.qml`, in `shared/`, and each component holds a symlink to +it. It was four copies that had already drifted: `vm-manager` was missing +`surfaceAlt` and `volume-osd` was missing `green`, `yellow` and `surfaceAlt`, +so the shared file is the superset and the two thin ones gained properties +they never had. A symlink rather than a shared import path because a singleton +outside the config directory needs a `qmldir`, which is the same friction that +keeps the palette parsed rather than imported; quickshell follows the link and +resolves the singleton with no qmldir and no consumer change. Editing any +component's `Theme.qml` edits all four. Do not replace a link with a copy. + ## Blur Translucency is set in QML; the frosting is the compositor's. Hyprland blurs a |
