mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
28 lines
604 B
QML
28 lines
604 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell.Services.SystemTray
|
|
import ".."
|
|
|
|
RowLayout {
|
|
id: root
|
|
spacing: 5
|
|
visible: SystemTray.items.values.length > 0
|
|
|
|
required property PopupHandler popup
|
|
|
|
Repeater {
|
|
id: repeater
|
|
model: SystemTray.items
|
|
|
|
delegate: TrayMenuLauncher {
|
|
id: trayItem
|
|
required property SystemTrayItem modelData
|
|
trayItem: modelData
|
|
popup: root.popup
|
|
Layout.preferredWidth: parent.height
|
|
Layout.fillHeight: true
|
|
}
|
|
}
|
|
}
|