Wallpapers without SWWW

- Apply wallpaper to all screen
- Improve the overall look of the "backdrop" overview bg with a slight
coloring
This commit is contained in:
Sébastien Atoch 2025-07-29 10:38:33 -04:00
parent a15677aadf
commit 40f157a0ff
2 changed files with 72 additions and 47 deletions

View file

@ -6,7 +6,13 @@ import qs.Settings
ShellRoot {
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
Variants {
model: Quickshell.screens
PanelWindow {
required property ShellScreen modelData
visible: wallpaperSource !== ""
anchors {
bottom: true
@ -18,6 +24,7 @@ ShellRoot {
top: 0
}
color: "transparent"
screen: modelData
WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-wallpaper"
@ -30,4 +37,7 @@ ShellRoot {
smooth: true
}
}
}
}

View file

@ -7,7 +7,13 @@ import qs.Settings
ShellRoot {
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
Variants {
model: Quickshell.screens
PanelWindow {
required property ShellScreen modelData
visible: wallpaperSource !== ""
anchors {
top: true
@ -16,6 +22,7 @@ ShellRoot {
left: true
}
color: "transparent"
screen: modelData
WlrLayershell.layer: WlrLayer.Background
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.namespace: "quickshell-overview"
@ -32,8 +39,16 @@ ShellRoot {
anchors.fill: parent
visible: wallpaperSource !== ""
source: bgImage
radius: 24 // Adjust blur strength as needed
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)
}
}
}
}