67 lines
1.6 KiB
QML
Raw Normal View History

2026-01-19 18:57:19 +01:00
pragma ComponentBehavior: Bound
2026-01-14 23:18:18 +01:00
import Quickshell
import QtQuick
import qs
import qs.settings
2026-01-14 23:18:18 +01:00
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: root
2026-01-18 18:26:49 +01:00
required property var modelData
2026-01-18 15:54:25 +01:00
implicitHeight: Settings.config.barHeight
aboveWindows: true
screen: modelData
2026-01-18 18:26:49 +01:00
margins {
top: Settings.config.margins
left: Settings.config.margins
right: Settings.config.margins
2026-01-18 18:26:49 +01:00
}
anchors {
top: true
left: true
right: true
}
2026-01-18 18:26:49 +01:00
color: "transparent"
Rectangle {
id: container
implicitHeight: Settings.config.barHeight
anchors.fill: parent
color: Colors.background
radius: implicitHeight / 2
Row {
id: leftStuff
leftPadding: 10
spacing: 10
2026-01-18 18:26:49 +01:00
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Workspaces {
property var screen: root.modelData
}
Title {}
Mpris {}
}
2026-01-14 23:18:18 +01:00
2026-01-18 18:26:49 +01:00
Row {
id: centerStuff
anchors.centerIn: parent
Clock {}
}
2026-01-14 23:18:18 +01:00
2026-01-18 18:26:49 +01:00
Row {
id: rightStuff
rightPadding: 5
2026-01-18 18:26:49 +01:00
spacing: 10
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Volume {}
Battery {}
SysTray {}
2026-01-18 18:26:49 +01:00
}
2026-01-14 23:18:18 +01:00
}
}
}