49 lines
1.1 KiB
QML
49 lines
1.1 KiB
QML
import "root:/config"
|
|
import "root:/modules/osd" as Osd
|
|
import "root:/modules/notifications" as Notifications
|
|
import "root:/modules/session" as Session
|
|
import Quickshell
|
|
import QtQuick
|
|
|
|
Item {
|
|
id: root
|
|
|
|
required property ShellScreen screen
|
|
required property PersistentProperties visibilities
|
|
|
|
readonly property Osd.Wrapper osd: osd
|
|
readonly property Notifications.Wrapper notifications: notifications
|
|
readonly property Session.Wrapper session: session
|
|
|
|
anchors.fill: parent
|
|
anchors.margins: BorderConfig.thickness
|
|
|
|
Osd.Wrapper {
|
|
id: osd
|
|
|
|
screen: root.screen
|
|
visibility: root.visibilities.osd
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: session.width
|
|
}
|
|
|
|
Notifications.Wrapper {
|
|
id: notifications
|
|
|
|
visibility: root.visibilities.notifications
|
|
|
|
anchors.top: parent.top
|
|
anchors.right: parent.right
|
|
}
|
|
|
|
Session.Wrapper {
|
|
id: session
|
|
|
|
visibilities: root.visibilities
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.right: parent.right
|
|
}
|
|
}
|