diff options
| author | Tslil Clingman <tslil.clingman@gmail.com> | 2018-07-05 21:50:51 +0200 |
|---|---|---|
| committer | Tslil Clingman <tslil.clingman@gmail.com> | 2018-07-05 21:50:51 +0200 |
| commit | f92c2d7834ce029a8b1a5f199296cba5e59342aa (patch) | |
| tree | 9d321d26a855612d391656b48c3dba2881352a60 /battery | |
| parent | 721668ea57fda4254ceee9146c6b6bee470b3fc6 (diff) | |
Recent alterations
Diffstat (limited to 'battery')
| -rwxr-xr-x | battery | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
