summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/BatteryMonitor.qml2
-rw-r--r--modules/background/DesktopClock.qml1
-rw-r--r--modules/controlcenter/NavRail.qml2
-rw-r--r--modules/controlcenter/Panes.qml22
-rw-r--r--modules/controlcenter/Session.qml7
-rw-r--r--modules/controlcenter/WindowFactory.qml2
-rw-r--r--modules/controlcenter/WindowTitle.qml2
7 files changed, 17 insertions, 21 deletions
diff --git a/modules/BatteryMonitor.qml b/modules/BatteryMonitor.qml
index d24cff2..7a3be12 100644
--- a/modules/BatteryMonitor.qml
+++ b/modules/BatteryMonitor.qml
@@ -15,7 +15,7 @@ Scope {
function onOnBatteryChanged(): void {
if (UPower.onBattery) {
if (Config.utilities.toasts.chargingChanged)
- Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is discharging"), "power_off");
+ Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is now on AC"), "power_off");
} else {
if (Config.utilities.toasts.chargingChanged)
Toaster.toast(qsTr("Charger plugged in"), qsTr("Battery is charging"), "power");
diff --git a/modules/background/DesktopClock.qml b/modules/background/DesktopClock.qml
index 2de325c..6dc6b6b 100644
--- a/modules/background/DesktopClock.qml
+++ b/modules/background/DesktopClock.qml
@@ -12,7 +12,6 @@ Item {
anchors.centerIn: parent
text: Time.format(Config.services.useTwelveHourClock ? "hh:mm:ss A" : "hh:mm:ss")
- font.family: Appearance.font.family.clock
font.pointSize: Appearance.font.size.extraLarge
font.bold: true
}
diff --git a/modules/controlcenter/NavRail.qml b/modules/controlcenter/NavRail.qml
index 22c13a3..70438a6 100644
--- a/modules/controlcenter/NavRail.qml
+++ b/modules/controlcenter/NavRail.qml
@@ -168,7 +168,7 @@ Item {
}
NavItem {
- icon: "tune"
+ icon: "volume_up"
label: "audio"
}
}
diff --git a/modules/controlcenter/Panes.qml b/modules/controlcenter/Panes.qml
index 2548c3d..cc4a4cb 100644
--- a/modules/controlcenter/Panes.qml
+++ b/modules/controlcenter/Panes.qml
@@ -1,6 +1,8 @@
pragma ComponentBehavior: Bound
import "bluetooth"
+import "network"
+import "audio"
import qs.components
import qs.services
import qs.config
@@ -23,14 +25,8 @@ ClippingRectangle {
Pane {
index: 0
- sourceComponent: Item {
- StyledText {
- anchors.centerIn: parent
- text: qsTr("Work in progress")
- color: Colours.palette.m3outline
- font.pointSize: Appearance.font.size.extraLarge
- font.weight: 500
- }
+ sourceComponent: NetworkPane {
+ session: root.session
}
}
@@ -43,14 +39,8 @@ ClippingRectangle {
Pane {
index: 2
- sourceComponent: Item {
- StyledText {
- anchors.centerIn: parent
- text: qsTr("Work in progress")
- color: Colours.palette.m3outline
- font.pointSize: Appearance.font.size.extraLarge
- font.weight: 500
- }
+ sourceComponent: AudioPane {
+ session: root.session
}
}
diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml
index a143470..b716b20 100644
--- a/modules/controlcenter/Session.qml
+++ b/modules/controlcenter/Session.qml
@@ -11,6 +11,7 @@ QtObject {
property bool navExpanded: false
readonly property Bt bt: Bt {}
+ readonly property Network network: Network {}
onActiveChanged: activeIndex = panes.indexOf(active)
onActiveIndexChanged: active = panes[activeIndex]
@@ -22,4 +23,10 @@ QtObject {
property bool fabMenuOpen
property bool editingDeviceName
}
+
+ component Network: QtObject {
+ property var active
+ property bool showPasswordDialog: false
+ property var pendingNetwork
+ }
}
diff --git a/modules/controlcenter/WindowFactory.qml b/modules/controlcenter/WindowFactory.qml
index c5b7535..14d85da 100644
--- a/modules/controlcenter/WindowFactory.qml
+++ b/modules/controlcenter/WindowFactory.qml
@@ -38,7 +38,7 @@ Singleton {
implicitWidth: cc.implicitWidth
implicitHeight: cc.implicitHeight
- title: qsTr("Caelestia Settings - %1").arg(cc.active.slice(0, 1).toUpperCase() + cc.active.slice(1))
+ title: qsTr("Settings")
ControlCenter {
id: cc
diff --git a/modules/controlcenter/WindowTitle.qml b/modules/controlcenter/WindowTitle.qml
index fb71608..b65746b 100644
--- a/modules/controlcenter/WindowTitle.qml
+++ b/modules/controlcenter/WindowTitle.qml
@@ -19,7 +19,7 @@ StyledRect {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
- text: qsTr("Caelestia Settings - %1").arg(root.session.active)
+ text: qsTr("Settings")
font.capitalization: Font.Capitalize
font.pointSize: Appearance.font.size.larger
font.weight: 500