aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-12-18 14:49:54 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-12-18 14:49:54 +0530
commit29e3e7939b91c587a40e1c13babe1d8b15db180c (patch)
treeb07ec7f46c196edeb57d23ec461ec1f062e225f1 /quickshell/items
parentedaf04f79d33ba96ef7ac548fbad766e0546a200 (diff)
forgot about AC/DC(), .bin for personal stuff
Diffstat (limited to 'quickshell/items')
-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