summaryrefslogtreecommitdiff
path: root/modules/controlcenter/Session.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-05 16:19:58 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-05 16:19:58 +1000
commitfb650907a0b18fab4f996c2fdc110d2d091e4060 (patch)
treeab2ec5bb7f17fc36ea9ccc12bad451c43a1b7f9c /modules/controlcenter/Session.qml
parentinternal: position slider handle correctly (diff)
downloadcaelestia-shell-fb650907a0b18fab4f996c2fdc110d2d091e4060.tar.gz
caelestia-shell-fb650907a0b18fab4f996c2fdc110d2d091e4060.tar.bz2
caelestia-shell-fb650907a0b18fab4f996c2fdc110d2d091e4060.zip
internal: rename dcontent -> controlcenter
Diffstat (limited to 'modules/controlcenter/Session.qml')
-rw-r--r--modules/controlcenter/Session.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml
new file mode 100644
index 0000000..0c3f1b4
--- /dev/null
+++ b/modules/controlcenter/Session.qml
@@ -0,0 +1,22 @@
+import Quickshell.Bluetooth
+import QtQuick
+
+QtObject {
+ readonly property list<string> panes: ["network", "bluetooth", "audio"]
+
+ 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
+ property bool editingAdapterName
+ property bool fabMenuOpen
+ property bool editingDeviceName
+ }
+}