diff options
Diffstat (limited to '.scripts/battery_status.sh')
-rwxr-xr-x | .scripts/battery_status.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.scripts/battery_status.sh b/.scripts/battery_status.sh new file mode 100755 index 0000000..a66bd70 --- /dev/null +++ b/.scripts/battery_status.sh @@ -0,0 +1,2 @@ +#!/bin/sh +acpi -b | awk '{print substr($4, 0, length($2) + 1) ", " substr($3, 0, length($3) - 1)}' |