diff options
Diffstat (limited to 'modules/controlcenter')
| -rw-r--r-- | modules/controlcenter/Panes.qml | 25 | ||||
| -rw-r--r-- | modules/controlcenter/Session.qml | 4 |
2 files changed, 7 insertions, 22 deletions
diff --git a/modules/controlcenter/Panes.qml b/modules/controlcenter/Panes.qml index 0958902..8a46088 100644 --- a/modules/controlcenter/Panes.qml +++ b/modules/controlcenter/Panes.qml @@ -1,6 +1,5 @@ pragma ComponentBehavior: Bound -import "ethernet" import "bluetooth" import "network" import "audio" @@ -29,60 +28,46 @@ ClippingRectangle { Pane { index: 0 - sourceComponent: EthernetPane { + sourceComponent: NetworkingPane { session: root.session } } Pane { index: 1 - sourceComponent: WirelessPane { - session: root.session - } - } - - Pane { - index: 2 sourceComponent: BtPane { session: root.session } } Pane { - index: 3 + index: 2 sourceComponent: AudioPane { session: root.session } } Pane { - index: 4 + index: 3 sourceComponent: AppearancePane { session: root.session } } Pane { - index: 5 + index: 4 sourceComponent: TaskbarPane { session: root.session } } Pane { - index: 6 + index: 5 sourceComponent: LauncherPane { session: root.session } } - Pane { - index: 7 - sourceComponent: NetworkingPane { - session: root.session - } - } - Behavior on y { Anim {} } diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml index d09d977..0aad702 100644 --- a/modules/controlcenter/Session.qml +++ b/modules/controlcenter/Session.qml @@ -2,12 +2,12 @@ import Quickshell.Bluetooth import QtQuick QtObject { - readonly property list<string> panes: ["ethernet", "wireless", "bluetooth", "audio", "appearance", "taskbar", "launcher", "networking"] + readonly property list<string> panes: ["networking", "bluetooth", "audio", "appearance", "taskbar", "launcher"] required property var root property bool floating: false property string active: "networking" - property int activeIndex: 7 + property int activeIndex: 0 property bool navExpanded: false readonly property Bt bt: Bt {} |