51 lines
1.2 KiB
QML
Raw Normal View History

2026-03-08 12:13:35 +01:00
import Quickshell
import QtQuick
import QtQuick.Layouts
2026-03-08 12:13:35 +01:00
import qs.settings
import qs
Variants {
model: Quickshell.screens
delegate: PanelWindow {
required property ShellScreen modelData
screen: modelData
id: root
anchors {
top: true
left: true
right: true
}
implicitHeight: Settings.config.barHeight
color: "transparent"
Rectangle {
id: bar
anchors.fill: parent
color: ThemeLoader.colors.base00
RowLayout {
id: left
anchors.leftMargin: 10
anchors {
left: parent.left
verticalCenter: parent.verticalCenter
}
Ws {barScreen: root.modelData}
MPris {}
}
RowLayout {
id: center
anchors {
centerIn: parent
}
Title {}
}
RowLayout {
id: right
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
}
}
}
2026-03-08 12:13:35 +01:00
}
}