50 lines
935 B
QML
Raw Normal View History

2025-12-21 20:59:33 +01:00
import Quickshell
import QtQuick
import QtQuick.Layouts
import "../../"
2025-12-21 20:59:33 +01:00
PanelWindow {
id: root
required property var modelData
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
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
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
Battery {}
Loader {
sourceComponent: Volume {}
}
2025-12-26 00:37:39 +01:00
PowerProfiles {}
2025-12-21 20:59:33 +01:00
SystemTray {
Layout.rightMargin: 30
2025-12-21 20:59:33 +01:00
}
}
}