nosignal-shell/modules/controlcenter/Session.qml
2025-08-05 16:19:58 +10:00

22 lines
604 B
QML

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
}
}