summaryrefslogtreecommitdiffstats
path: root/.bin/ag-status
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-01-02 21:07:04 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-01-02 21:07:04 +0100
commita3d041d259756dc609b40e5244965fb36b05b8a3 (patch)
tree8f0890cf1dc48ef35ca6d0d5e572c2325aa09288 /.bin/ag-status
parent0f08d04698c814955116b6bae50752e64b774d8f (diff)
downloaddots-a3d041d259756dc609b40e5244965fb36b05b8a3.tar.gz
Sun Jan 2 09:07:04 PM CET 2022
Diffstat (limited to '.bin/ag-status')
-rwxr-xr-x.bin/ag-status2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bin/ag-status b/.bin/ag-status
index 150b9db..3970e54 100755
--- a/.bin/ag-status
+++ b/.bin/ag-status
@@ -25,7 +25,7 @@ while true; do
Linux)
battery=$(acpi -b |
cut -d " " -f 4 |
- __cleanup_value)
+ cut -d "%" -f 1)
battery_status=$(acpi -a |
tr -s " " |
cut -d " " -f 3)
remember that computers suck.