summaryrefslogtreecommitdiff
path: root/modules/BatteryMonitor.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
committerFreya Murphy <freya@freyacat.org>2026-03-16 17:07:54 -0400
commitbb6717666a669aa81cda28896ed292ca5af55ece (patch)
tree5f3c5fed20fd3bf8fe38e10d7e09b81558c64a79 /modules/BatteryMonitor.qml
parentadd date to clock (diff)
downloadcaelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.gz
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.tar.bz2
caelestia-shell-bb6717666a669aa81cda28896ed292ca5af55ece.zip
change things
Diffstat (limited to 'modules/BatteryMonitor.qml')
-rw-r--r--modules/BatteryMonitor.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/BatteryMonitor.qml b/modules/BatteryMonitor.qml
index d24cff2..bd3d6f0 100644
--- a/modules/BatteryMonitor.qml
+++ b/modules/BatteryMonitor.qml
@@ -14,10 +14,10 @@ Scope {
function onOnBatteryChanged(): void {
if (UPower.onBattery) {
- if (Config.utilities.toasts.chargingChanged)
+ if (Config.toasts.chargingChanged)
Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is discharging"), "power_off");
} else {
- if (Config.utilities.toasts.chargingChanged)
+ if (Config.toasts.chargingChanged)
Toaster.toast(qsTr("Charger plugged in"), qsTr("Battery is charging"), "power");
for (const level of root.warnLevels)
level.warned = false;