58 lines
1.3 KiB
QML
58 lines
1.3 KiB
QML
import Quickshell
|
|
import Quickshell.Wayland
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import "../../config"
|
|
|
|
PanelWindow {
|
|
id: bar
|
|
|
|
anchors {
|
|
top: true
|
|
left: true
|
|
right: true
|
|
}
|
|
implicitHeight: Appearance.barHeight
|
|
exclusiveZone: implicitHeight
|
|
color: "transparent"
|
|
|
|
WlrLayershell.layer: WlrLayer.Top
|
|
WlrLayershell.namespace: "quickshell:bar"
|
|
|
|
Rectangle {
|
|
anchors.fill: parent
|
|
color: Colors.background
|
|
}
|
|
|
|
RowLayout {
|
|
anchors {
|
|
left: parent.left
|
|
verticalCenter: parent.verticalCenter
|
|
leftMargin: Appearance.spacing
|
|
}
|
|
spacing: Appearance.spacing
|
|
Workspaces { screen: bar.screen }
|
|
ActiveWindow {}
|
|
}
|
|
|
|
Clock {
|
|
anchors.centerIn: parent
|
|
}
|
|
|
|
RowLayout {
|
|
anchors {
|
|
right: parent.right
|
|
verticalCenter: parent.verticalCenter
|
|
rightMargin: Appearance.spacing
|
|
}
|
|
spacing: Appearance.spacing
|
|
//Tray {}
|
|
TailscaleIndicator { barWindow: bar }
|
|
VpnIndicator { barWindow: bar }
|
|
NetworkIndicator { barWindow: bar }
|
|
BluetoothIndicator { barWindow: bar }
|
|
Volume { barWindow: bar }
|
|
PowerButton { barWindow: bar }
|
|
}
|
|
}
|