import Quickshell import Quickshell.Wayland import Quickshell.Widgets import Quickshell.Io import QtQuick import QtQuick.Effects Item { id: root property bool open: false IpcHandler { target: "boateye" function open() {root.open = true} function close() {root.open = false} } PanelWindow { visible: root.open anchors { left: true bottom: true } WlrLayershell.namespace: "mcsr" implicitHeight: 540 implicitWidth: 540 color: "transparent" RectangularShadow { anchors.fill: wrapper radius: wrapper.radius blur: 10 spread: 2 } ClippingRectangle { color: "#181818" anchors { left: parent.left bottom: parent.bottom margins: 12 } width: 500 height: 500 id: wrapper radius: 12 Item { anchors.fill: parent layer.enabled: true layer.smooth: false ScreencopyView { width: Quickshell.screens[0].width height: Quickshell.screens[0].height live: true captureSource: Quickshell.screens[0] x: -1544 y: -693 } transform: Scale { origin { x: width/2 y: height/2 } // xScale: 15 // yScale: 10 xScale: 15 yScale: 10 } } Image { anchors.fill: parent source: "/home/spingus/Pictures/boateye.png" } } } PanelWindow { visible: root.open anchors { right: true } WlrLayershell.layer: WlrLayer.Overlay exclusionMode: ExclusionMode.Ignore margins { right: 998 } implicitWidth: 8 implicitHeight: 8 } }