summaryrefslogtreecommitdiff
path: root/modules/controlcenter
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-14 13:44:15 -0500
committerATMDA <atdma2600@gmail.com>2025-11-14 13:44:15 -0500
commitebc2772b3ef54e9f93865ad5c497665b9fffe1cd (patch)
tree37536d5789db265e8f996af61f8a09b99a555c76 /modules/controlcenter
parentcontrolcenter: fixed default pane (diff)
downloadcaelestia-shell-ebc2772b3ef54e9f93865ad5c497665b9fffe1cd.tar.gz
caelestia-shell-ebc2772b3ef54e9f93865ad5c497665b9fffe1cd.tar.bz2
caelestia-shell-ebc2772b3ef54e9f93865ad5c497665b9fffe1cd.zip
controlcenter: corrected index of panes
Diffstat (limited to 'modules/controlcenter')
-rw-r--r--modules/controlcenter/Panes.qml25
-rw-r--r--modules/controlcenter/Session.qml4
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 {}