diff options
Diffstat (limited to 'desktop/modules/bluetooth/BluetoothModule.qml')
| -rw-r--r-- | desktop/modules/bluetooth/BluetoothModule.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/modules/bluetooth/BluetoothModule.qml b/desktop/modules/bluetooth/BluetoothModule.qml index 80f80b9..4fd600f 100644 --- a/desktop/modules/bluetooth/BluetoothModule.qml +++ b/desktop/modules/bluetooth/BluetoothModule.qml @@ -36,6 +36,9 @@ Module { // Null for the first ~2s, then filled. Safe navigation everywhere. icon: mod.adapter && mod.adapter.enabled ? "\uf293" : "\uf05e" + // Active while anything is connected. + active: mod.anyConnected + function notify(title, body) { notifyProc.command = ["notify-send", "--app-name=bluetooth", "--urgency=critical", "--icon=error", title, body]; |
