aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items/Electrons.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/items/Electrons.qml')
-rw-r--r--quickshell/items/Electrons.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/quickshell/items/Electrons.qml b/quickshell/items/Electrons.qml
index f3164a0..769eda8 100644
--- a/quickshell/items/Electrons.qml
+++ b/quickshell/items/Electrons.qml
@@ -12,7 +12,7 @@ RowLayout {
}
}
Text {
- text: battery
+ text: (batteryCharging ? ("AC/DC(" + battery + ")") : battery)
color: (battery <= redBatteryPoint) ? shellRoot.red : ((battery <= orangeBatteryPoint) ? shellRoot.orange : shellRoot.green)
font {
family: shellRoot.fontFamily