From 190f7ead70071fa2696e5371e3275f15da32ffcf Mon Sep 17 00:00:00 2001 From: _N0x Date: Wed, 20 Jan 2021 14:11:21 +0100 Subject: [PATCH] Modified battery status script --- localbin/.local/bin/batstatus | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/localbin/.local/bin/batstatus b/localbin/.local/bin/batstatus index b93e4e1..37f2ecf 100755 --- a/localbin/.local/bin/batstatus +++ b/localbin/.local/bin/batstatus @@ -2,4 +2,5 @@ # get battery percentage and current time remaining -acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}' +#acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}' +acpi | awk -F '[, :]' '{ print $6 }'