From 18023bec3f911d15ea4c2fe59ac8cc65fe9b1a2c Mon Sep 17 00:00:00 2001 From: notiant <238434866+notiant@users.noreply.github.com> Date: Fri, 24 Apr 2026 13:08:17 +0200 Subject: [PATCH] fix potential Bluetooth problem on boot --- Modules/Bar/Widgets/ControlCenter.qml | 2 +- Modules/Bar/Widgets/Launcher.qml | 2 +- Services/Networking/BluetoothService.qml | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Modules/Bar/Widgets/ControlCenter.qml b/Modules/Bar/Widgets/ControlCenter.qml index 0621bcf248..0413473561 100644 --- a/Modules/Bar/Widgets/ControlCenter.qml +++ b/Modules/Bar/Widgets/ControlCenter.qml @@ -121,7 +121,7 @@ NIconButton { IconImage { id: customOrDistroLogo anchors.centerIn: parent - width: root.buttonSize * 0.8 + width: root.buttonSize * 0.7 height: width source: { if (useDistroLogo) diff --git a/Modules/Bar/Widgets/Launcher.qml b/Modules/Bar/Widgets/Launcher.qml index b12fb98397..6bf86e9a56 100644 --- a/Modules/Bar/Widgets/Launcher.qml +++ b/Modules/Bar/Widgets/Launcher.qml @@ -96,7 +96,7 @@ NIconButton { IconImage { id: customOrDistroLogo anchors.centerIn: parent - width: root.buttonSize * 0.8 + width: root.buttonSize * 0.7 height: width source: { if (useDistroLogo) diff --git a/Services/Networking/BluetoothService.qml b/Services/Networking/BluetoothService.qml index 9146763dd5..3abb07dea9 100644 --- a/Services/Networking/BluetoothService.qml +++ b/Services/Networking/BluetoothService.qml @@ -71,7 +71,7 @@ Singleton { } } - // Handle potential case where Quickshell doesnt't properly update adapter after system wakeup + // Handle potential case where Quickshell doesnt't properly update adapter after boot or system wakeup Connections { target: Time function onResumed() { @@ -79,6 +79,12 @@ Singleton { } } + onAdapterChanged: { + if (adapter) { + ctlPollTimer.restart(); + } + } + // Track adapter state changes Connections { target: adapter