diff options
Diffstat (limited to 'modules/background/Background.qml')
| -rw-r--r-- | modules/background/Background.qml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml index f7c0a3f..1bc567b 100644 --- a/modules/background/Background.qml +++ b/modules/background/Background.qml @@ -27,16 +27,19 @@ Loader { WlrLayershell.layer: WlrLayer.Background color: "black" - anchors.top: true - anchors.bottom: true - anchors.left: true - anchors.right: true + WlrLayershell.anchors { + top: true + bottom: true + left: true + right: true + } Image { id: wallpaper anchors.fill: parent asynchronous: true + fillMode: Image.PreserveAspectCrop source: Paths.wallpaper ?? "" } |