44 lines
986 B
QML
44 lines
986 B
QML
import Quickshell
|
|
import QtQuick
|
|
import "../Widgets" as Widgets
|
|
|
|
Item {
|
|
width: 800
|
|
height: 42
|
|
anchors {
|
|
top: parent.top
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
Row {
|
|
anchors {
|
|
top: parent.top
|
|
left: parent.left
|
|
bottom: parent.bottom
|
|
leftMargin: 0
|
|
}
|
|
Widgets.Battery {}
|
|
}
|
|
Widgets.Workspaces {
|
|
height: parent.height
|
|
anchors {
|
|
top: parent.top
|
|
bottom: parent.bottom
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
}
|
|
Row {
|
|
anchors {
|
|
top: parent.top
|
|
right: parent.right
|
|
bottom: parent.bottom
|
|
rightMargin: 12
|
|
}
|
|
Text {
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
property var clock: SystemClock {}
|
|
color: "white"
|
|
text: Qt.formatDateTime(clock.date, "ddd MMM dd · hh:mm")
|
|
}
|
|
}
|
|
}
|