import Quickshell import QtQuick PanelWindow { id: bar required property var screen property var calendarMouseArea: clock.calendarMouseArea anchors { top: true left: true right: true } margins { left: 26 + 8 right: 26 + 8 } implicitHeight: 21 color: "transparent" Rectangle { color: Qt.rgba(0, 0, 0, 0.75) anchors.fill: parent // bottomLeftRadius: 8 // bottomRightRadius: 8 } Row { id: left height: parent.height width: childrenRect.width anchors.left: parent.left anchors.leftMargin: 8 anchors.verticalCenter: parent.verticalCenter spacing: 8 WorkspaceSwitcher {} } Row { id: center height: parent.height width: childrenRect.width anchors.centerIn: parent spacing: 5 ActiveWindowDisplay { screen: bar.screen maxWidth: bar.width - 2*Math.max(left.width, right.width) - 2*8 } } Row { id: right height: parent.height width: childrenRect.width anchors.right: parent.right anchors.rightMargin: 8 anchors.verticalCenter: parent.verticalCenter spacing: 0 SystemTray {} Item { height: parent.height width: 4 } KeyboardLayout {} Item { height: parent.height width: 4 } Clock { id: clock } } }