7 lines
156 B
Bash
Executable File
7 lines
156 B
Bash
Executable File
#!/bin/bash
|
|
#cut the percent out of acpi
|
|
batt=`acpi -b`
|
|
batt=($batt)
|
|
#echo "#[fg=red]♥♥♥#[fg=white]♥♥♥#[fg=black] ${batt[3]}"
|
|
echo "${batt[3]}"
|