From f92c2d7834ce029a8b1a5f199296cba5e59342aa Mon Sep 17 00:00:00 2001 From: Tslil Clingman Date: Thu, 5 Jul 2018 21:50:51 +0200 Subject: Recent alterations --- battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'battery') 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; -- cgit v1.2.3