2025-12-21 20:59:33 +01:00
|
|
|
import Quickshell
|
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Layouts
|
2025-12-28 13:25:31 +01:00
|
|
|
import "../../"
|
2025-12-21 20:59:33 +01:00
|
|
|
|
|
|
|
|
PanelWindow {
|
|
|
|
|
id: root
|
2025-12-24 23:00:08 +01:00
|
|
|
required property var modelData
|
2025-12-29 23:41:32 +01:00
|
|
|
implicitHeight: 36
|
2025-12-26 00:37:39 +01:00
|
|
|
color: Colors.background
|
2025-12-21 20:59:33 +01:00
|
|
|
anchors {
|
|
|
|
|
top: true
|
|
|
|
|
left: true
|
|
|
|
|
right: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
|
id: leftLayout
|
2025-12-31 17:04:35 +01:00
|
|
|
spacing: 40
|
2025-12-21 20:59:33 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2025-12-24 23:00:08 +01:00
|
|
|
Clock {
|
|
|
|
|
Layout.leftMargin: 30
|
2025-12-21 21:24:03 +01:00
|
|
|
}
|
2025-12-26 00:37:39 +01:00
|
|
|
Mpris {}
|
2025-12-21 20:59:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
|
id: centerLayout
|
|
|
|
|
anchors.centerIn: parent
|
2025-12-24 23:00:08 +01:00
|
|
|
Workspaces {}
|
2025-12-21 20:59:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout {
|
|
|
|
|
id: rightLayout
|
2025-12-31 17:04:35 +01:00
|
|
|
spacing: 40
|
2025-12-21 20:59:33 +01:00
|
|
|
anchors.right: parent.right
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2025-12-31 17:08:56 +01:00
|
|
|
Loader {
|
|
|
|
|
sourceComponent: Battery {}
|
|
|
|
|
}
|
2025-12-31 16:40:43 +01:00
|
|
|
Loader {
|
|
|
|
|
sourceComponent: Volume {}
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-31 17:08:56 +01:00
|
|
|
Loader {
|
|
|
|
|
sourceComponent: PowerProfiles {}
|
|
|
|
|
}
|
2025-12-21 20:59:33 +01:00
|
|
|
SystemTray {
|
2025-12-24 23:00:08 +01:00
|
|
|
Layout.rightMargin: 30
|
2025-12-21 20:59:33 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|