From d72b4bd6a39236093eed24d8b20f8e4d455c1fd3 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 11 Sep 2026 18:48:06 +0200 Subject: fix(appearance): rescan schemes and wallpapers on open Both scans ran once at startup. This shell is autostarted, so that is once per session: a scheme or a wallpaper added afterwards never appeared, and restarting the shell was the only way to see it. Six schemes added during a session were invisible for exactly this reason. Opening the panel now refreshes both. Verified by adding a palette pair to a running shell and watching it appear, with its colours resolved, after the refresh. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01G7NRsGyF9jGfPYS4zPqpN7 --- appearance/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'appearance/README.md') diff --git a/appearance/README.md b/appearance/README.md index f0e9a09..aba231a 100644 --- a/appearance/README.md +++ b/appearance/README.md @@ -62,6 +62,9 @@ are. The list comes from the palette directory rather than a hardcoded set, so adding a scheme to unified-desktop-theme is enough to make it appear here. +Both the scheme list and the wallpaper scan are redone every time the panel +opens: this shell is autostarted and runs all session, so a scan done only at +startup would go stale the first time anything was added. Applying writes the `scheme =` line in `~/.config/udt/roles.conf` and runs `install.sh`, which regenerates every themed config. **It reloads nothing**, -- cgit v1.2.3