import qs.modules.common import qs.modules.common.widgets import QtQuick import QtQuick.Layouts import Quickshell.Services.SystemTray // TODO: More fancy animation Item { id: root required property var bar height: parent.height implicitWidth: rowLayout.implicitWidth Layout.leftMargin: Appearance.rounding.screenRounding RowLayout { id: rowLayout anchors.fill: parent spacing: 15 Repeater { model: SystemTray.items SysTrayItem { required property SystemTrayItem modelData bar: root.bar item: modelData } } StyledText { Layout.alignment: Qt.AlignVCenter font.pixelSize: Appearance.font.pixelSize.larger color: Appearance.colors.colSubtext text: "•" visible: { SystemTray.items.values.length > 0 } } } }