2026-01-14 23:18:18 +01:00
|
|
|
import Quickshell
|
|
|
|
|
import QtQuick
|
|
|
|
|
import "../../settings/"
|
|
|
|
|
import "../../"
|
|
|
|
|
import "../../reusables/"
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
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 {
|
|
|
|
|
id: leftStuff
|
|
|
|
|
anchors.left: parent.left
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
Workspaces {
|
|
|
|
|
screen: root.screen
|
|
|
|
|
}
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
Row {
|
|
|
|
|
id: centerStuff
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
Title {
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
}
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
Row {
|
2026-01-15 15:14:29 +01:00
|
|
|
spacing: 10
|
2026-01-15 01:13:17 +01:00
|
|
|
id: rightStuff
|
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2026-01-15 15:14:29 +01:00
|
|
|
Volume {}
|
|
|
|
|
Battery {}
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|