8 lines
214 B
Bash
Executable File
8 lines
214 B
Bash
Executable File
#!/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"
|