From 5d7151e79e04d8a6073ecb4ea4a14c5c9bdcfc52 Mon Sep 17 00:00:00 2001 From: ATMDA Date: Sun, 9 Nov 2025 17:54:16 -0500 Subject: controlcenter: network and audio panels --- modules/controlcenter/WindowFactory.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/controlcenter/WindowFactory.qml') 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 -- cgit v1.2.3-freya From f1234bc96705b7f5bd35f2c1e5cfd532712f6f86 Mon Sep 17 00:00:00 2001 From: ATMDA Date: Sun, 9 Nov 2025 19:10:11 -0500 Subject: 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 --- config/BarConfig.qml | 4 ---- modules/BatteryMonitor.qml | 2 +- modules/background/DesktopClock.qml | 1 + modules/bar/Bar.qml | 6 ------ modules/controlcenter/WindowFactory.qml | 2 +- modules/controlcenter/WindowTitle.qml | 2 +- 6 files changed, 4 insertions(+), 13 deletions(-) (limited to 'modules/controlcenter/WindowFactory.qml') diff --git a/config/BarConfig.qml b/config/BarConfig.qml index 745cda6..34819b1 100644 --- a/config/BarConfig.qml +++ b/config/BarConfig.qml @@ -45,10 +45,6 @@ JsonObject { id: "statusIcons", enabled: true }, - { - id: "settings", - enabled: true - }, { id: "power", enabled: true diff --git a/modules/BatteryMonitor.qml b/modules/BatteryMonitor.qml index 7a3be12..d24cff2 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 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"); diff --git a/modules/background/DesktopClock.qml b/modules/background/DesktopClock.qml index 6dc6b6b..2de325c 100644 --- a/modules/background/DesktopClock.qml +++ b/modules/background/DesktopClock.qml @@ -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 } diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 32e362b..1dceea4 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -158,12 +158,6 @@ ColumnLayout { sourceComponent: StatusIcons {} } } - DelegateChoice { - roleValue: "settings" - delegate: WrappedLoader { - sourceComponent: SettingsIcon {} - } - } DelegateChoice { roleValue: "power" delegate: WrappedLoader { diff --git a/modules/controlcenter/WindowFactory.qml b/modules/controlcenter/WindowFactory.qml index 14d85da..c5b7535 100644 --- a/modules/controlcenter/WindowFactory.qml +++ b/modules/controlcenter/WindowFactory.qml @@ -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 diff --git a/modules/controlcenter/WindowTitle.qml b/modules/controlcenter/WindowTitle.qml index b65746b..fb71608 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("Settings") + text: qsTr("Caelestia Settings - %1").arg(root.session.active) font.capitalization: Font.Capitalize font.pointSize: Appearance.font.size.larger font.weight: 500 -- cgit v1.2.3-freya From 8262d34bc0715d3fabe1690058ab68569a3c03bb Mon Sep 17 00:00:00 2001 From: ATMDA Date: Mon, 17 Nov 2025 13:48:43 -0500 Subject: controlcenter: disable resize on floating window --- modules/controlcenter/WindowFactory.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/controlcenter/WindowFactory.qml') diff --git a/modules/controlcenter/WindowFactory.qml b/modules/controlcenter/WindowFactory.qml index c5b7535..abcf5df 100644 --- a/modules/controlcenter/WindowFactory.qml +++ b/modules/controlcenter/WindowFactory.qml @@ -32,12 +32,14 @@ Singleton { destroy(); } - minimumSize.width: 1000 - minimumSize.height: 600 - implicitWidth: cc.implicitWidth implicitHeight: cc.implicitHeight + minimumSize.width: implicitWidth + minimumSize.height: implicitHeight + maximumSize.width: implicitWidth + maximumSize.height: implicitHeight + title: qsTr("Caelestia Settings - %1").arg(cc.active.slice(0, 1).toUpperCase() + cc.active.slice(1)) ControlCenter { -- cgit v1.2.3-freya