diff options
Diffstat (limited to 'modules/bar/components/StatusIcons.qml')
| -rw-r--r-- | modules/bar/components/StatusIcons.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/bar/components/StatusIcons.qml b/modules/bar/components/StatusIcons.qml index de1c02d..1b0ee90 100644 --- a/modules/bar/components/StatusIcons.qml +++ b/modules/bar/components/StatusIcons.qml @@ -2,6 +2,7 @@ import "root:/widgets" import "root:/services" import "root:/utils" import "root:/config" +import Quickshell import QtQuick import QtQuick.Controls @@ -33,7 +34,7 @@ StyledRect { font.pointSize: Appearance.font.size.larger } - BoxLayout { + Box { anchors.left: vertical ? undefined : bluetooth.right anchors.leftMargin: vertical ? 0 : Appearance.padding.smaller anchors.top: vertical ? bluetooth.bottom : undefined @@ -43,7 +44,9 @@ StyledRect { anchors.verticalCenter: vertical ? undefined : bluetooth.verticalCenter Repeater { - model: Bluetooth.connected + model: ScriptModel { + values: Bluetooth.devices.filter(d => d.connected) + } MaterialIcon { required property Bluetooth.Device modelData |