52 lines
1.1 KiB
QML
Raw Normal View History

2026-01-14 23:18:18 +01:00
import Quickshell
import QtQuick
import "../../settings/"
import "../../"
import QtQuick.Layouts
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: root
required property var modelData
screen: modelData
color: Colors.background
anchors {
top: true
left: true
right: true
}
implicitHeight: Settings.config.barHeight
Row {
leftPadding: 10
id: leftStuff
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 {
rightPadding: 10
id: rightStuff
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
}
}
}