dotfiles/localbin/.local/bin/batstatus

7 lines
150 B
Plaintext
Raw Normal View History

#!/bin/sh
# get battery percentage and current time remaining
2021-01-20 14:11:21 +01:00
#acpi | awk -F '[, :]' '{print $6 " ~" $8":"$9}'
acpi | awk -F '[, :]' '{ print $6 }'