diff options
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; |
