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:
parent
a15677aadf
commit
40f157a0ff
2 changed files with 72 additions and 47 deletions
|
|
@ -6,7 +6,13 @@ import qs.Settings
|
||||||
|
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
|
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
|
||||||
|
|
||||||
|
Variants {
|
||||||
|
model: Quickshell.screens
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
|
required property ShellScreen modelData
|
||||||
|
|
||||||
visible: wallpaperSource !== ""
|
visible: wallpaperSource !== ""
|
||||||
anchors {
|
anchors {
|
||||||
bottom: true
|
bottom: true
|
||||||
|
|
@ -18,6 +24,7 @@ ShellRoot {
|
||||||
top: 0
|
top: 0
|
||||||
}
|
}
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
screen: modelData
|
||||||
WlrLayershell.layer: WlrLayer.Background
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
WlrLayershell.namespace: "quickshell-wallpaper"
|
WlrLayershell.namespace: "quickshell-wallpaper"
|
||||||
|
|
@ -30,4 +37,7 @@ ShellRoot {
|
||||||
smooth: true
|
smooth: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -7,7 +7,13 @@ import qs.Settings
|
||||||
|
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
|
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.settings.useSWWW ? WallpaperManager.currentWallpaper : ""
|
||||||
|
|
||||||
|
Variants {
|
||||||
|
model: Quickshell.screens
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
|
required property ShellScreen modelData
|
||||||
|
|
||||||
visible: wallpaperSource !== ""
|
visible: wallpaperSource !== ""
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
|
|
@ -16,6 +22,7 @@ ShellRoot {
|
||||||
left: true
|
left: true
|
||||||
}
|
}
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
screen: modelData
|
||||||
WlrLayershell.layer: WlrLayer.Background
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
WlrLayershell.namespace: "quickshell-overview"
|
WlrLayershell.namespace: "quickshell-overview"
|
||||||
|
|
@ -32,8 +39,16 @@ ShellRoot {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
visible: wallpaperSource !== ""
|
visible: wallpaperSource !== ""
|
||||||
source: bgImage
|
source: bgImage
|
||||||
radius: 24 // Adjust blur strength as needed
|
radius: 18 // Adjust blur strength as needed
|
||||||
transparentBorder: true
|
transparentBorder: true
|
||||||
}
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.fill: parent
|
||||||
|
color: Qt.rgba(
|
||||||
|
Theme.backgroundPrimary.r,
|
||||||
|
Theme.backgroundPrimary.g,
|
||||||
|
Theme.backgroundPrimary.b, 0.6)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue