layershell namespaces

This commit is contained in:
Zacharias-Brohn
2025-12-06 00:04:24 +01:00
parent e35f57e42c
commit ef3791b0d4
4 changed files with 29 additions and 22 deletions
+1
View File
@@ -29,6 +29,7 @@ Scope {
PanelWindow {
id: exclusionZone
WlrLayershell.namespace: "ZShell-Bar-Exclusion"
screen: bar.screen
WlrLayershell.layer: WlrLayer.Bottom
anchors {
+1
View File
@@ -155,6 +155,7 @@ Singleton {
implicitHeight: 48
color: "transparent"
mask: Region {}
visible: false
Image {
anchors.fill: parent
+6 -2
View File
@@ -89,7 +89,9 @@ WlSessionLockSurface {
anchors.fill: parent
asynchronous: false
cache: false
source: WallpaperPath.lockscreenBg
source: WallpaperPath.currentWallpaperPath
sourceSize.width: root.screen.width
sourceSize.height: root.screen.height
visible: Config.lock.useWallpaper
Component.onCompleted: {
@@ -106,7 +108,9 @@ WlSessionLockSurface {
Rectangle {
id: contentBox
anchors.centerIn: parent
anchors.bottom: !Config.lock.useWallpaper ? "" : parent.bottom
anchors.centerIn: !Config.lock.useWallpaper ? parent : ""
anchors.horizontalCenter: !Config.lock.useWallpaper ? "" : parent.horizontalCenter
color: DynamicColors.tPalette.m3surfaceContainer
radius: 28
+21 -20
View File
@@ -7,26 +7,27 @@ import qs.Config
Loader {
asynchronous: true
active: Config.background.enabled
asynchronous: true
active: Config.background.enabled
sourceComponent: Variants {
model: Quickshell.screens
PanelWindow {
id: root
required property var modelData
screen: modelData
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
color: "transparent"
sourceComponent: Variants {
model: Quickshell.screens
PanelWindow {
id: root
required property var modelData
screen: modelData
WlrLayershell.namespace: "ZShell-Wallpaper"
WlrLayershell.exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
color: "transparent"
anchors {
top: true
left: true
right: true
bottom: true
}
WallBackground {}
}
}
anchors {
top: true
left: true
right: true
bottom: true
}
WallBackground {}
}
}
}