aboutsummaryrefslogtreecommitdiffstats
path: root/appearance/AppearancePanel.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-11 18:48:06 +0200
committerDanilo M. <danix@danix.xyz>2026-09-11 18:48:06 +0200
commitd72b4bd6a39236093eed24d8b20f8e4d455c1fd3 (patch)
treefaba13bc1fc8c9bbde05b003abe1ceab5b84ec11 /appearance/AppearancePanel.qml
parent1b252e32d93e1e0207d2a69ee3445e1dbf6505ae (diff)
downloadquickshell-d72b4bd6a39236093eed24d8b20f8e4d455c1fd3.tar.gz
quickshell-d72b4bd6a39236093eed24d8b20f8e4d455c1fd3.zip
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G7NRsGyF9jGfPYS4zPqpN7
Diffstat (limited to 'appearance/AppearancePanel.qml')
-rw-r--r--appearance/AppearancePanel.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/appearance/AppearancePanel.qml b/appearance/AppearancePanel.qml
index 27a0196..708682c 100644
--- a/appearance/AppearancePanel.qml
+++ b/appearance/AppearancePanel.qml
@@ -31,6 +31,10 @@ Scope {
function show(which) {
if (which) root.tab = which;
root.notice = "";
+ // Schemes and wallpapers can both have changed since this shell
+ // started, which for an autostarted one is the whole session.
+ Udt.refresh();
+ Wallpapers.refresh();
root.open = true;
}
function close() { root.open = false; }