73 lines
1.8 KiB
QML
73 lines
1.8 KiB
QML
import "root:/services"
|
|
import "root:/config"
|
|
import "root:/modules/osd" as Osd
|
|
import "root:/modules/notifications" as Notifications
|
|
import "root:/modules/session" as Session
|
|
import "root:/modules/launcher" as Launcher
|
|
import "root:/modules/dashboard" as Dashboard
|
|
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
|
|
readonly property Launcher.Wrapper launcher: launcher
|
|
readonly property Dashboard.Wrapper dashboard: dashboard
|
|
|
|
anchors.fill: parent
|
|
anchors.margins: BorderConfig.thickness
|
|
|
|
Component.onCompleted: Visibilities.panels[screen] = this
|
|
|
|
Osd.Wrapper {
|
|
id: osd
|
|
|
|
clip: root.visibilities.session
|
|
screen: root.screen
|
|
visibility: root.visibilities.osd
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: session.width
|
|
}
|
|
|
|
Notifications.Wrapper {
|
|
id: notifications
|
|
|
|
anchors.top: parent.top
|
|
anchors.right: parent.right
|
|
}
|
|
|
|
Session.Wrapper {
|
|
id: session
|
|
|
|
visibilities: root.visibilities
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.right: parent.right
|
|
}
|
|
|
|
Launcher.Wrapper {
|
|
id: launcher
|
|
|
|
visibilities: root.visibilities
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.bottom: parent.bottom
|
|
}
|
|
|
|
Dashboard.Wrapper {
|
|
id: dashboard
|
|
|
|
visibilities: root.visibilities
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.top: parent.top
|
|
}
|
|
}
|