diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 18:47:45 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 18:47:45 +1000 |
| commit | 169450aa2e9d9058686aab0f7cf54b728ecd6efa (patch) | |
| tree | 22b84e83831f975db86c676ef4716815f59ab10d /utils/Icons.qml | |
| parent | bar: increase spacing between pill content (diff) | |
| download | caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.tar.gz caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.tar.bz2 caelestia-shell-169450aa2e9d9058686aab0f7cf54b728ecd6efa.zip | |
feat: bar bluetooth devices
Diffstat (limited to 'utils/Icons.qml')
| -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: { |