39 lines
742 B
QML
39 lines
742 B
QML
import qs.common
|
|
import qs.common.widgets
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell.Services.SystemTray
|
|
|
|
Item {
|
|
id: root
|
|
|
|
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
|
|
item: modelData
|
|
}
|
|
}
|
|
|
|
StyledText {
|
|
Layout.alignment: Qt.AlignVCenter
|
|
font.pixelSize: Appearance.font.pixelSize.larger
|
|
color: Appearance.colors.colSubtext
|
|
text: "•"
|
|
visible: {
|
|
SystemTray.items.values.length > 0
|
|
}
|
|
}
|
|
}
|
|
} |