diff options
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/Icons.qml | 10 |
1 files changed, 10 insertions, 0 deletions
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: { |