From e8094f5d29a000514d0ca7720052bfedc1e55b7e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 18 Jan 2025 20:34:19 +1100 Subject: bar: bluetooth devices --- src/modules/bar.tsx | 89 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 33 deletions(-) (limited to 'src/modules') diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx index 97787fc..fbcfb10 100644 --- a/src/modules/bar.tsx +++ b/src/modules/bar.tsx @@ -324,49 +324,72 @@ const Network = () => ( ); -const Bluetooth = () => ( +const BluetoothDevice = (device: AstalBluetooth.Device) => ( ); +const Bluetooth = () => ( + + + {bind(AstalBluetooth.get_default(), "devices").as(d => d.map(BluetoothDevice))} + +); + const StatusIcons = () => ( -- cgit v1.2.3-freya