summaryrefslogtreecommitdiff
path: root/battery
diff options
context:
space:
mode:
authorTslil Clingman <tslil.clingman@gmail.com>2018-07-05 21:50:51 +0200
committerTslil Clingman <tslil.clingman@gmail.com>2018-07-05 21:50:51 +0200
commitf92c2d7834ce029a8b1a5f199296cba5e59342aa (patch)
tree9d321d26a855612d391656b48c3dba2881352a60 /battery
parent721668ea57fda4254ceee9146c6b6bee470b3fc6 (diff)
Recent alterations
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;