From cd88149245daf8ee8b93bb1cc84e2ab391cc2a1d Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sun, 10 May 2026 16:36:21 +0530 Subject: proper bluetooth integration --- quickshell/items/LowEnergy.qml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 quickshell/items/LowEnergy.qml (limited to 'quickshell/items') diff --git a/quickshell/items/LowEnergy.qml b/quickshell/items/LowEnergy.qml new file mode 100644 index 0000000..881ee84 --- /dev/null +++ b/quickshell/items/LowEnergy.qml @@ -0,0 +1,27 @@ +import QtQuick +import QtQuick.Layouts + +RowLayout { + spacing: 0 + Text { + text: " Low Energy:" + color: shellRoot.white + font { + family: shellRoot.fontFamily + pixelSize: shellRoot.fontSize + } + } + Text { + text: bluetoothName + color: bluetoothName == "Offline" ? shellRoot.red : shellRoot.green + font { + family: shellRoot.fontFamily + pixelSize: shellRoot.fontSize + bold: true + } + } + MouseArea { + anchors.fill: parent + onClicked: bluetoothManagerProc.running = true + } +} -- cgit v1.2.3