pragma ComponentBehavior: Bound import QtQuick import Quickshell import Quickshell.Wayland import "../services" import "../theme" // qmllint disable uncreatable-type PanelWindow { id:root required property var modelData screen:modelData anchors {top:true;bottom:true;left:true;right:true} color:Theme.surface exclusionMode:ExclusionMode.Ignore WlrLayershell.layer:WlrLayer.Background WlrLayershell.namespace:"glassMxrph-wallpaper" mask:Region {} readonly property string targetPath:ConfigService.ready ? (ConfigService.data.wallpaper.byMonitor[root.modelData.name] || "") : "" TransitionStage { id:stage anchors.fill:parent // Every output starts its change together (WallpaperService.revealSerial). waitForGo:true onLoading:WallpaperService.revealLoading(root.modelData.name) onReady:WallpaperService.revealReady(root.modelData.name) } onTargetPathChanged:stage.path=targetPath Component.onCompleted:stage.path=targetPath Connections { target:WallpaperService function onRevealSerialChanged() {stage.go();} } }