diff --git a/shell/modules/bar/Bar.qml b/shell/modules/bar/Bar.qml new file mode 100644 index 0000000..cbc1717 --- /dev/null +++ b/shell/modules/bar/Bar.qml @@ -0,0 +1,58 @@ +import QtQuick +import Quickshell +import "components" +import "../../config" + +Scope { + PanelWindow { + id: root + + anchors { + top: true + left: true + right: true + } + + implicitHeight: 30 + + color: 'transparent' + + Rectangle { + anchors.fill: parent + color: Colours.palette.base100 + } + + Row { + id: leftbar + + spacing: 6 + anchors.top: parent.top + anchors.left: parent.left + anchors.bottom: parent.bottom + anchors.margins: 2 + + Workspaces { + anchors.verticalCenter: parent.verticalCenter + } + } + + Row { + id: centerbar + + spacing: 6 + anchors.horizontalCenter: parent.horizontalCenter + anchors.top: parent.top + anchors.bottom: parent.bottom + + Clock {} + } + + Row { + id: rightbar + + anchors.top: parent.top + anchors.right: parent.left + anchors.bottom: parent.bottom + } + } +}