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:
parent
8783a3a95a
commit
f1234bc967
6 changed files with 4 additions and 13 deletions
|
|
@ -45,10 +45,6 @@ JsonObject {
|
|||
id: "statusIcons",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "settings",
|
||||
enabled: true
|
||||
},
|
||||
{
|
||||
id: "power",
|
||||
enabled: true
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,12 +158,6 @@ ColumnLayout {
|
|||
sourceComponent: StatusIcons {}
|
||||
}
|
||||
}
|
||||
DelegateChoice {
|
||||
roleValue: "settings"
|
||||
delegate: WrappedLoader {
|
||||
sourceComponent: SettingsIcon {}
|
||||
}
|
||||
}
|
||||
DelegateChoice {
|
||||
roleValue: "power"
|
||||
delegate: WrappedLoader {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue