layershell namespaces
This commit is contained in:
@@ -29,6 +29,7 @@ Scope {
|
|||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: exclusionZone
|
id: exclusionZone
|
||||||
|
WlrLayershell.namespace: "ZShell-Bar-Exclusion"
|
||||||
screen: bar.screen
|
screen: bar.screen
|
||||||
WlrLayershell.layer: WlrLayer.Bottom
|
WlrLayershell.layer: WlrLayer.Bottom
|
||||||
anchors {
|
anchors {
|
||||||
|
|||||||
@@ -155,6 +155,7 @@ Singleton {
|
|||||||
implicitHeight: 48
|
implicitHeight: 48
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
mask: Region {}
|
mask: Region {}
|
||||||
|
visible: false
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@@ -89,7 +89,9 @@ WlSessionLockSurface {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
asynchronous: false
|
asynchronous: false
|
||||||
cache: false
|
cache: false
|
||||||
source: WallpaperPath.lockscreenBg
|
source: WallpaperPath.currentWallpaperPath
|
||||||
|
sourceSize.width: root.screen.width
|
||||||
|
sourceSize.height: root.screen.height
|
||||||
visible: Config.lock.useWallpaper
|
visible: Config.lock.useWallpaper
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
@@ -106,7 +108,9 @@ WlSessionLockSurface {
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: contentBox
|
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
|
color: DynamicColors.tPalette.m3surfaceContainer
|
||||||
radius: 28
|
radius: 28
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Loader {
|
|||||||
id: root
|
id: root
|
||||||
required property var modelData
|
required property var modelData
|
||||||
screen: modelData
|
screen: modelData
|
||||||
|
WlrLayershell.namespace: "ZShell-Wallpaper"
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
WlrLayershell.layer: WlrLayer.Bottom
|
WlrLayershell.layer: WlrLayer.Bottom
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|||||||
Reference in New Issue
Block a user