pragma ComponentBehavior: Bound import qs.components import qs.components.containers import qs.services import qs.config import qs.utils import Quickshell import Quickshell.Wayland import QtQuick Loader { asynchronous: true active: Config.background.enabled sourceComponent: Variants { model: Quickshell.screens StyledWindow { id: win required property ShellScreen modelData screen: modelData name: "background" WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.layer: WlrLayer.Background color: "black" WlrLayershell.anchors { top: true bottom: true left: true right: true } Image { id: wallpaper anchors.fill: parent asynchronous: true fillMode: Image.PreserveAspectCrop source: Paths.wallpaper ?? "" } } } }