From 2b49d96b05a7f5ba16f5297a8b7cd557c8cecf09 Mon Sep 17 00:00:00 2001 From: mx Date: Wed, 7 Oct 2026 23:18:52 +0200 Subject: [PATCH] Probe the wallpaper provider once configuration loads The provider probe ran only when the target monitor changed, and the monitor resolves before the configuration loads, so the first probe was skipped and "auto" never resolved to the native background until the picker opened. Probe again once the configured backend is known and whenever it changes. Co-Authored-By: Claude Opus 5.5 --- quickshell/services/WallpaperService.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quickshell/services/WallpaperService.qml b/quickshell/services/WallpaperService.qml index ba743d2..8e50468 100644 --- a/quickshell/services/WallpaperService.qml +++ b/quickshell/services/WallpaperService.qml @@ -72,6 +72,10 @@ Singleton { applyJob.start(req); } onMonitorChanged: refresh() + // The monitor resolves before the configuration loads, so also probe once the + // configured backend is known (startup) and whenever it changes. + readonly property string configuredBackend: ConfigService.ready ? ConfigService.data.wallpaper.backend : "" + onConfiguredBackendChanged: refresh() ProviderJob { id: probeJob onFinished: (request, result) => {