From ceeb669a6add9479c3e0e42e81cb702cb01bea5a Mon Sep 17 00:00:00 2001 From: Sho Date: Sun, 2 Aug 2026 16:22:24 +0900 Subject: [PATCH] fix(lockscreen): resolve wallpaper source binding to Theme.wallpaperPath and add currentWallpaper alias in WallpaperService --- .../modules/lockscreen/LockscreenWindow.qml | 17 ++++------------- quickshell/services/WallpaperService.qml | 1 + 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/quickshell/modules/lockscreen/LockscreenWindow.qml b/quickshell/modules/lockscreen/LockscreenWindow.qml index 6028a85..1e43bec 100644 --- a/quickshell/modules/lockscreen/LockscreenWindow.qml +++ b/quickshell/modules/lockscreen/LockscreenWindow.qml @@ -20,13 +20,13 @@ PanelWindow { exclusionMode: ExclusionMode.Ignore visible: LockscreenService.isLocked - color: "black" + color: Theme.bg // Raw System Wallpaper Image Image { id: bgImage anchors.fill: parent - source: WallpaperService.currentWallpaper + source: Theme.wallpaperPath fillMode: Image.PreserveAspectCrop Behavior on source { @@ -34,22 +34,13 @@ PanelWindow { } } - // ShaderEffectSource capturing bgImage GPU texture with hideSource: true - ShaderEffectSource { - id: wallpaperSource - anchors.fill: parent - sourceItem: bgImage - hideSource: true - live: true - } - // Blurred Background of the current system wallpaper MultiEffect { anchors.fill: parent - source: wallpaperSource + source: bgImage blurEnabled: true blur: 1.0 - blurMax: 48 + blurMax: 64 opacity: 0.85 } diff --git a/quickshell/services/WallpaperService.qml b/quickshell/services/WallpaperService.qml index 88bbfd5..2a26173 100644 --- a/quickshell/services/WallpaperService.qml +++ b/quickshell/services/WallpaperService.qml @@ -11,6 +11,7 @@ Item { property string activeCustomWallpaper: "" property var cachedThemeWallpapers: ({}) property bool isLoaded: false + readonly property string currentWallpaper: Theme.wallpaperPath // Automatic recolor watcher background daemon Process {