From f0826a953f7aedbf271c74bf207d595e29620321 Mon Sep 17 00:00:00 2001 From: Mario Mohar <76663003+Mario-Mohar@users.noreply.github.com> Date: Thu, 22 Oct 2026 23:09:02 +0200 Subject: [PATCH] wallpaper: push the cycling config when the service is created (#3874) port 2.0 (cherry picked from commit 900e6110d92771f04c3e25a4c0c5cb94f0f1aef0) --- quickshell/Services/WallpaperCyclingService.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickshell/Services/WallpaperCyclingService.qml b/quickshell/Services/WallpaperCyclingService.qml index 6c995f5c6..bc3004957 100644 --- a/quickshell/Services/WallpaperCyclingService.qml +++ b/quickshell/Services/WallpaperCyclingService.qml @@ -95,6 +95,12 @@ Singleton { } } + // Created late from the async DMSShell loader, after loaded and capabilitiesReceived may have fired. + Component.onCompleted: { + if (SessionData._hasLoaded) + updateCyclingState(); + } + function updateCyclingState() { cyclingActive = serverSchedulingAvailable && (SessionData.wallpaperCyclingEnabled || SessionData.perMonitorWallpaper); if (!cyclingActive && !_lastPushedEnabled)