summaryrefslogtreecommitdiff
path: root/modules/background
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-01-20 09:46:29 -0500
committerFreya Murphy <freya@freyacat.org>2026-01-20 09:46:29 -0500
commit6c1b374e64eb2e152daea10efee3c1d983739bf7 (patch)
treedf67befe98ee7e3b9571fd5b8b4515e685a3d859 /modules/background
parentrevert 'monitorWorkspaces' (diff)
downloadcaelestia-shell-main.tar.gz
caelestia-shell-main.tar.bz2
caelestia-shell-main.zip
remove config saving, make background scale properly, and add quickshell desktop fileHEADmain
Diffstat (limited to '')
-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 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 ?? ""
}