From ae878e390fef99c6e7867b97fced78567e058ad0 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 19:57:07 +1000 Subject: feat: bar system tray --- modules/bar/Pills.qml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'modules/bar/Pills.qml') diff --git a/modules/bar/Pills.qml b/modules/bar/Pills.qml index 042e9c1..f608549 100644 --- a/modules/bar/Pills.qml +++ b/modules/bar/Pills.qml @@ -68,7 +68,11 @@ Item { anchors.verticalCenter: root.get(parent.verticalCenter, undefined) } - StatusIcons { + Tray { + id: tray + + vertical: BarConfig.vertical + anchors.left: root.get(clock.right, undefined) anchors.leftMargin: root.get(Appearance.padding.large, 0) anchors.top: root.get(undefined, clock.bottom) @@ -77,6 +81,16 @@ Item { anchors.horizontalCenter: root.get(undefined, parent.horizontalCenter) anchors.verticalCenter: root.get(parent.verticalCenter, undefined) } + + StatusIcons { + anchors.left: root.get(tray.right, undefined) + anchors.leftMargin: root.get(Appearance.padding.normal, 0) + anchors.top: root.get(undefined, tray.bottom) + anchors.topMargin: root.get(0, Appearance.padding.large) + + anchors.horizontalCenter: root.get(undefined, parent.horizontalCenter) + anchors.verticalCenter: root.get(parent.verticalCenter, undefined) + } } } -- cgit v1.2.3-freya