summaryrefslogtreecommitdiff
path: root/battery
diff options
context:
space:
mode:
Diffstat (limited to 'battery')
-rwxr-xr-xbattery2
1 files changed, 1 insertions, 1 deletions
diff --git a/battery b/battery
index d98974c..ef3997e 100755
--- a/battery
+++ b/battery
@@ -2,5 +2,5 @@
# Quick hack to display battery levels for the laptop
-str="s/ Charging, /C/;s/ Discharging, /D/;s/ Unknown,/U/"
+str="s/ Charging, /C/;s/ Discharging, /D/;s/ Unknown,/U/;s/ Full, /F/"
acpi | cut -d: -f 2- | sed "$str" | cut -d\ -f 1-2 | cut -d: -f 1-2;