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 {} Image { anchors.fill:parent source:ConfigService.ready && ConfigService.data.wallpaper.byMonitor[root.modelData.name] ? "file://"+encodeURI(ConfigService.data.wallpaper.byMonitor[root.modelData.name]).replace(/#/g,"%23").replace(/\?/g,"%3F") : "" sourceSize:Qt.size(parent.width,parent.height) asynchronous:true retainWhileLoading:true fillMode:Image.PreserveAspectCrop } }