summaryrefslogtreecommitdiff
path: root/modules/background/Background.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-20 09:46:29 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-22 08:36:56 -0500
commitb4aedc641969d817480359faf1c83772aabf57aa (patch)
tree0e18f53082551a84f525e3f71d4d4a703ce3e565 /modules/background/Background.qml
parentrevert 'monitorWorkspaces' (diff)
downloadcaelestia-shell-b4aedc641969d817480359faf1c83772aabf57aa.tar.gz
caelestia-shell-b4aedc641969d817480359faf1c83772aabf57aa.tar.bz2
caelestia-shell-b4aedc641969d817480359faf1c83772aabf57aa.zip
remove config saving, make background scale properly, and add quickshell desktop file
Diffstat (limited to 'modules/background/Background.qml')
-rw-r--r--modules/background/Background.qml11
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml
index 874c803..0acce6b 100644
--- a/modules/background/Background.qml
+++ b/modules/background/Background.qml
@@ -26,16 +26,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 ?? ""
}