From 169450aa2e9d9058686aab0f7cf54b728ecd6efa Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 29 Apr 2025 18:47:45 +1000 Subject: feat: bar bluetooth devices --- utils/Icons.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils') diff --git a/utils/Icons.qml b/utils/Icons.qml index ac19b4e..92d8de8 100644 --- a/utils/Icons.qml +++ b/utils/Icons.qml @@ -177,6 +177,16 @@ Singleton { return "signal_wifi_0_bar"; } + function getBluetoothIcon(icon: string): string { + if (icon.includes("headset") || icon.includes("headphones")) + return "headphones"; + if (icon.includes("audio")) + return "speaker"; + if (icon.includes("phone")) + return "smartphone"; + return "bluetooth"; + } + FileView { path: "/etc/os-release" onLoaded: { -- cgit v1.2.3-freya