53 lines
1.2 KiB
QML
Raw Normal View History

2026-01-14 23:18:18 +01:00
import Quickshell
import QtQuick
import "../../settings/"
import "../../"
import "../../reusables/"
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
2026-01-16 14:44:10 +01:00
RowLayout {
id: leftStuff
2026-01-15 23:23:09 +01:00
spacing: 10
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Workspaces {
2026-01-16 14:44:10 +01:00
property var screen: root.modelData
Layout.leftMargin: 10
}
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
}
2026-01-16 14:44:10 +01:00
RowLayout {
id: rightStuff
2026-01-16 14:44:10 +01:00
spacing: 20
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Volume {}
Battery {}
2026-01-16 14:44:10 +01:00
SystemTray {
2026-01-16 15:15:44 +01:00
Layout.rightMargin: 10
2026-01-16 14:44:10 +01:00
}
2026-01-14 23:18:18 +01:00
}
}
}