summaryrefslogtreecommitdiff
path: root/modules/controlcenter/Session.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/Session.qml')
-rw-r--r--modules/controlcenter/Session.qml16
1 files changed, 14 insertions, 2 deletions
diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml
index a143470..efd360d 100644
--- a/modules/controlcenter/Session.qml
+++ b/modules/controlcenter/Session.qml
@@ -2,15 +2,17 @@ import Quickshell.Bluetooth
import QtQuick
QtObject {
- readonly property list<string> panes: ["network", "bluetooth", "audio"]
+ readonly property list<string> panes: ["network", "bluetooth", "audio", "appearance", "taskbar", "launcher"]
required property var root
property bool floating: false
- property string active: panes[0]
+ property string active: "network"
property int activeIndex: 0
property bool navExpanded: false
readonly property Bt bt: Bt {}
+ readonly property Network network: Network {}
+ readonly property Ethernet ethernet: Ethernet {}
onActiveChanged: activeIndex = panes.indexOf(active)
onActiveIndexChanged: active = panes[activeIndex]
@@ -22,4 +24,14 @@ QtObject {
property bool fabMenuOpen
property bool editingDeviceName
}
+
+ component Network: QtObject {
+ property var active
+ property bool showPasswordDialog: false
+ property var pendingNetwork
+ }
+
+ component Ethernet: QtObject {
+ property var active
+ }
}