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 { active: Config.background.enabled sourceComponent: Variants { model: Screens.screens StyledWindow { id: win required property ShellScreen modelData screen: modelData name: "background" WlrLayershell.exclusionMode: ExclusionMode.Ignore WlrLayershell.layer: Config.background.wallpaperEnabled ? WlrLayer.Background : WlrLayer.Bottom color: Config.background.wallpaperEnabled ? "black" : "transparent" surfaceFormat.opaque: false anchors.top: true anchors.bottom: true anchors.left: true anchors.right: true Image { id: wallpaper anchors.fill: parent asynchronous: true Loader { id: wallpaper anchors.fill: parent active: Config.background.wallpaperEnabled sourceComponent: Wallpaper {} } Visualiser { anchors.fill: parent screen: win.modelData wallpaper: wallpaper } } } } }