8 lines
214 B
Plaintext
8 lines
214 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
icon=""
|
||
|
#battery="$(acpi | awk -F '[, :]' '{ print $6 " ~" $8":"$9 }')" # with time remaning
|
||
|
battery="$(acpi | awk -F '[, :]' '{ print $6 }')" # without time
|
||
|
|
||
|
printf " %s %s \\n" "$icon" "$battery"
|