nosignal-shell/modules/drawers/Backgrounds.qml
2025-05-13 16:30:53 +10:00

24 lines
525 B
QML

import "root:/services"
import "root:/config"
import "root:/modules/osd" as Osd
import Quickshell
import QtQuick
import QtQuick.Shapes
Shape {
id: root
required property Panels panels
anchors.fill: parent
anchors.margins: BorderConfig.thickness
preferredRendererType: Shape.CurveRenderer
opacity: Colours.transparency.enabled ? Colours.transparency.base : 1
Osd.Background {
wrapper: panels.osd
startX: root.width
startY: (root.height - panels.osd.height) / 2
}
}