mirror of
https://github.com/tuxdotrs/tshell.git
synced 2026-09-19 18:49:02 +05:30
31 lines
588 B
QML
31 lines
588 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick
|
|
import Quickshell.Services.SystemTray
|
|
import qs.config
|
|
import qs.ui
|
|
|
|
BarButton {
|
|
id: root
|
|
|
|
hoverHighlight: false
|
|
pointerCursor: false
|
|
visible: SystemTray.items.values.length > 0
|
|
|
|
contentItem: Row {
|
|
spacing: Theme.spacing
|
|
|
|
Repeater {
|
|
model: SystemTray.items.values
|
|
|
|
Image {
|
|
required property var modelData
|
|
|
|
source: modelData.icon
|
|
width: Theme.tray.iconSize
|
|
height: Theme.tray.iconSize
|
|
}
|
|
}
|
|
}
|
|
}
|