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
|
2026-01-15 17:43:03 +01:00
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
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
|
2026-01-15 23:23:09 +01:00
|
|
|
spacing: 10
|
2026-01-15 01:13:17 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
Workspaces {
|
2026-01-15 17:43:03 +01:00
|
|
|
property var screen: modelData
|
2026-01-15 01:13:17 +01:00
|
|
|
}
|
2026-01-15 23:23:09 +01:00
|
|
|
Title {
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
|
|
|
}
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
Row {
|
|
|
|
|
id: centerStuff
|
|
|
|
|
anchors.centerIn: parent
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2026-01-15 01:13:17 +01:00
|
|
|
Row {
|
|
|
|
|
id: rightStuff
|
2026-01-15 17:43:03 +01:00
|
|
|
spacing: 10
|
2026-01-15 01:13:17 +01:00
|
|
|
anchors.right: parent.right
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter
|
2026-01-15 23:09:32 +01:00
|
|
|
Clock {}
|
2026-01-15 15:14:29 +01:00
|
|
|
Volume {}
|
|
|
|
|
Battery {}
|
2026-01-14 23:18:18 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|