51 lines
1.2 KiB
QML
Raw Normal View History

2026-01-14 23:18:18 +01:00
import Quickshell
import QtQuick
import "../../settings/"
import "../../"
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: root
2026-01-18 15:54:25 +01:00
implicitHeight: Settings.config.barHeight
aboveWindows: true
required property var modelData
2026-01-18 15:54:25 +01:00
color: Qt.rgba(Colors.background.r, Colors.background.g, Colors.background.b, 0.6)
screen: modelData
anchors {
top: true
left: true
right: true
}
Row {
id: leftStuff
2026-01-18 15:54:25 +01:00
leftPadding: 10
2026-01-16 21:35:03 +01:00
spacing: 20
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Workspaces {
2026-01-16 14:44:10 +01:00
property var screen: root.modelData
}
2026-01-16 15:15:44 +01:00
Title {}
2026-01-14 23:18:18 +01:00
}
Row {
id: centerStuff
anchors.centerIn: parent
2026-01-16 14:44:10 +01:00
Clock {}
2026-01-14 23:18:18 +01:00
}
Row {
id: rightStuff
2026-01-18 15:54:25 +01:00
rightPadding: 10
spacing: 10
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Volume {}
Battery {}
2026-01-16 21:35:03 +01:00
SystemTray {}
2026-01-14 23:18:18 +01:00
}
}
}