From d379d251b9c9472e9f81d548dd720804f12d68b6 Mon Sep 17 00:00:00 2001 From: Arsenijs Kitajevs Date: Mon, 13 Jul 2026 21:57:41 +0300 Subject: [PATCH] Fixed bluetooth UI bug mentioned in #2627 (#2850) --- quickshell/Services/BluetoothService.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickshell/Services/BluetoothService.qml b/quickshell/Services/BluetoothService.qml index 77f4e21e3..4db401849 100644 --- a/quickshell/Services/BluetoothService.qml +++ b/quickshell/Services/BluetoothService.qml @@ -256,9 +256,8 @@ Singleton { function getDevicePath(device) { if (!device || !device.address) { return ""; - } - const adapterPath = adapter ? "/org/bluez/hci0" : "/org/bluez/hci0"; - return `${adapterPath}/dev_${device.address.replace(/:/g, "_")}`; + } + return device.dbusPath ?? ""; } function isAudioDevice(device) {