57 lines
1.4 KiB
QML
57 lines
1.4 KiB
QML
import Quickshell
|
|
import Quickshell.Wayland
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
PanelWindow {
|
|
anchors { top: true; left: true; right: true }
|
|
|
|
visible: !root.zenMode
|
|
height: Theme.barHeight
|
|
color: "transparent"
|
|
exclusiveZone: height
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
color: Theme.bg
|
|
|
|
Rectangle {
|
|
anchors.bottom: parent.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
height: 1
|
|
color: Theme.bg2
|
|
}
|
|
|
|
Row {
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: Theme.padding
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
spacing: Theme.spacing
|
|
|
|
Workspaces {}
|
|
}
|
|
|
|
ActiveWindow {
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
width: 480
|
|
}
|
|
|
|
Row {
|
|
anchors.right: parent.right
|
|
anchors.rightMargin: Theme.padding
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
spacing: Theme.spacing
|
|
|
|
NetWidget {}
|
|
CpuWidget {}
|
|
RamWidget {}
|
|
GpuWidget {}
|
|
DateWidget {}
|
|
Clock {}
|
|
KeyboardLayout {}
|
|
NotificationWidget {}
|
|
}
|
|
}
|
|
}
|