fix: window title while keeping new panels

modified:   config/BarConfig.qml
	modified:   modules/BatteryMonitor.qml
	modified:   modules/background/DesktopClock.qml
	modified:   modules/bar/Bar.qml
	modified:   modules/controlcenter/WindowFactory.qml
	modified:   modules/controlcenter/WindowTitle.qml
This commit is contained in:
ATMDA 2025-11-09 19:10:11 -05:00
parent 8783a3a95a
commit f1234bc967
6 changed files with 4 additions and 13 deletions

View file

@ -45,10 +45,6 @@ JsonObject {
id: "statusIcons",
enabled: true
},
{
id: "settings",
enabled: true
},
{
id: "power",
enabled: true

View file

@ -15,7 +15,7 @@ Scope {
function onOnBatteryChanged(): void {
if (UPower.onBattery) {
if (Config.utilities.toasts.chargingChanged)
Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is now on AC"), "power_off");
Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is discharging"), "power_off");
} else {
if (Config.utilities.toasts.chargingChanged)
Toaster.toast(qsTr("Charger plugged in"), qsTr("Battery is charging"), "power");

View file

@ -12,6 +12,7 @@ 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
}

View file

@ -158,12 +158,6 @@ ColumnLayout {
sourceComponent: StatusIcons {}
}
}
DelegateChoice {
roleValue: "settings"
delegate: WrappedLoader {
sourceComponent: SettingsIcon {}
}
}
DelegateChoice {
roleValue: "power"
delegate: WrappedLoader {

View file

@ -38,7 +38,7 @@ Singleton {
implicitWidth: cc.implicitWidth
implicitHeight: cc.implicitHeight
title: qsTr("Settings")
title: qsTr("Caelestia Settings - %1").arg(cc.active.slice(0, 1).toUpperCase() + cc.active.slice(1))
ControlCenter {
id: cc

View file

@ -19,7 +19,7 @@ StyledRect {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
text: qsTr("Settings")
text: qsTr("Caelestia Settings - %1").arg(root.session.active)
font.capitalization: Font.Capitalize
font.pointSize: Appearance.font.size.larger
font.weight: 500