From fb650907a0b18fab4f996c2fdc110d2d091e4060 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:19:58 +1000 Subject: internal: rename dcontent -> controlcenter --- modules/controlcenter/Session.qml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/controlcenter/Session.qml (limited to 'modules/controlcenter/Session.qml') 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 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 + } +} -- cgit v1.2.3-freya