wip bar
This commit is contained in:
parent
1b6ec4828b
commit
86a3c00eba
1 changed files with 58 additions and 0 deletions
58
shell/modules/bar/Bar.qml
Normal file
58
shell/modules/bar/Bar.qml
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue