From 3e368141c7d8d73493a8ed3c5fb10209644d46f0 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 30 Aug 2025 15:54:11 +0200 Subject: [PATCH] bluetooth menu: round battery level --- .../sidebarRight/bluetoothDevices/BluetoothDeviceItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/sidebarRight/bluetoothDevices/BluetoothDeviceItem.qml b/.config/quickshell/ii/modules/sidebarRight/bluetoothDevices/BluetoothDeviceItem.qml index 405f41c67..c2d281e2e 100644 --- a/.config/quickshell/ii/modules/sidebarRight/bluetoothDevices/BluetoothDeviceItem.qml +++ b/.config/quickshell/ii/modules/sidebarRight/bluetoothDevices/BluetoothDeviceItem.qml @@ -59,7 +59,7 @@ DialogListItem { if (!root.device?.paired) return ""; let statusText = root.device?.connected ? Translation.tr("Connected") : Translation.tr("Paired"); if (!root.device?.batteryAvailable) return statusText; - statusText += ` • ${root.device?.battery * 100}%`; + statusText += ` • ${Math.round(root.device?.battery * 100)}%`; return statusText; } }