From 40f157a0ffa4d0c26e5785be78db02659c7afe48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Atoch?= Date: Tue, 29 Jul 2025 10:38:33 -0400 Subject: [PATCH 1/2] Wallpapers without SWWW - Apply wallpaper to all screen - Improve the overall look of the "backdrop" overview bg with a slight coloring --- Widgets/Background.qml | 52 +++++++++++++++++++------------- Widgets/Overview.qml | 67 ++++++++++++++++++++++++++---------------- 2 files changed, 72 insertions(+), 47 deletions(-) diff --git a/Widgets/Background.qml b/Widgets/Background.qml index ee042d0..b8eb602 100644 --- a/Widgets/Background.qml +++ b/Widgets/Background.qml @@ -6,28 +6,38 @@ import qs.Settings ShellRoot { property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : "" - PanelWindow { - visible: wallpaperSource !== "" - anchors { - bottom: true - top: true - right: true - left: true - } - margins { - top: 0 - } - color: "transparent" - WlrLayershell.layer: WlrLayer.Background - WlrLayershell.exclusionMode: ExclusionMode.Ignore - WlrLayershell.namespace: "quickshell-wallpaper" - Image { - anchors.fill: parent - fillMode: Image.PreserveAspectCrop - source: wallpaperSource + + Variants { + model: Quickshell.screens + + PanelWindow { + required property ShellScreen modelData + visible: wallpaperSource !== "" - cache: true - smooth: true + anchors { + bottom: true + top: true + right: true + left: true + } + margins { + top: 0 + } + color: "transparent" + screen: modelData + WlrLayershell.layer: WlrLayer.Background + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.namespace: "quickshell-wallpaper" + Image { + anchors.fill: parent + fillMode: Image.PreserveAspectCrop + source: wallpaperSource + visible: wallpaperSource !== "" + cache: true + smooth: true + } } } + + } \ No newline at end of file diff --git a/Widgets/Overview.qml b/Widgets/Overview.qml index 2404854..2e63c6c 100644 --- a/Widgets/Overview.qml +++ b/Widgets/Overview.qml @@ -7,33 +7,48 @@ import qs.Settings ShellRoot { property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : "" - PanelWindow { - visible: wallpaperSource !== "" - anchors { - top: true - bottom: true - right: true - left: true - } - color: "transparent" - WlrLayershell.layer: WlrLayer.Background - WlrLayershell.exclusionMode: ExclusionMode.Ignore - WlrLayershell.namespace: "quickshell-overview" - Image { - id: bgImage - anchors.fill: parent - fillMode: Image.PreserveAspectCrop - source: wallpaperSource - cache: true - smooth: true - visible: wallpaperSource !== "" // Show the original for FastBlur input - } - FastBlur { - anchors.fill: parent + + Variants { + model: Quickshell.screens + + PanelWindow { + required property ShellScreen modelData + visible: wallpaperSource !== "" - source: bgImage - radius: 24 // Adjust blur strength as needed - transparentBorder: true + anchors { + top: true + bottom: true + right: true + left: true + } + color: "transparent" + screen: modelData + WlrLayershell.layer: WlrLayer.Background + WlrLayershell.exclusionMode: ExclusionMode.Ignore + WlrLayershell.namespace: "quickshell-overview" + Image { + id: bgImage + anchors.fill: parent + fillMode: Image.PreserveAspectCrop + source: wallpaperSource + cache: true + smooth: true + visible: wallpaperSource !== "" // Show the original for FastBlur input + } + FastBlur { + anchors.fill: parent + visible: wallpaperSource !== "" + source: bgImage + radius: 18 // Adjust blur strength as needed + transparentBorder: true + } + Rectangle { + anchors.fill: parent + color: Qt.rgba( + Theme.backgroundPrimary.r, + Theme.backgroundPrimary.g, + Theme.backgroundPrimary.b, 0.6) + } } } } \ No newline at end of file From 11f80065906b951ed82a43247f5bb132de2525a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Atoch?= Date: Tue, 29 Jul 2025 10:41:04 -0400 Subject: [PATCH 2/2] Same coloring for the lockscreen --- Widgets/LockScreen.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Widgets/LockScreen.qml b/Widgets/LockScreen.qml index 49b3247..29f20fc 100644 --- a/Widgets/LockScreen.qml +++ b/Widgets/LockScreen.qml @@ -141,9 +141,16 @@ WlSessionLock { FastBlur { anchors.fill: parent source: lockBgImage - radius: 48 // Adjust blur strength as needed + radius: 22 // Adjust blur strength as needed transparentBorder: true } + Rectangle { + anchors.fill: parent + color: Qt.rgba( + Theme.backgroundPrimary.r, + Theme.backgroundPrimary.g, + Theme.backgroundPrimary.b, 0.6) + } // Main content container (moved up, Rectangle removed) ColumnLayout { anchors.centerIn: parent