summaryrefslogtreecommitdiff
path: root/modules/detachedcontent/Session.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/detachedcontent/Session.qml')
-rw-r--r--modules/detachedcontent/Session.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/detachedcontent/Session.qml b/modules/detachedcontent/Session.qml
index f86528c..0565fd0 100644
--- a/modules/detachedcontent/Session.qml
+++ b/modules/detachedcontent/Session.qml
@@ -1,3 +1,4 @@
+import Quickshell.Bluetooth
import QtQuick
QtObject {
@@ -6,6 +7,13 @@ QtObject {
property string active
property int activeIndex
+ readonly property Bt bt: Bt {}
+
onActiveChanged: activeIndex = panes.indexOf(active)
onActiveIndexChanged: active = panes[activeIndex]
+
+ component Bt: QtObject {
+ property BluetoothDevice active
+ property BluetoothAdapter currentAdapter: Bluetooth.defaultAdapter
+ }
}