battery spacing
This commit is contained in:
parent
ab9a46105e
commit
4849e304a6
1 changed files with 6 additions and 1 deletions
|
@ -83,7 +83,12 @@ main()
|
||||||
{
|
{
|
||||||
bat_stat=$(battery_status)
|
bat_stat=$(battery_status)
|
||||||
bat_perc=$(battery_percent)
|
bat_perc=$(battery_percent)
|
||||||
|
|
||||||
|
if [ -z "$bat_stat" ]; then # Test if status is empty or not
|
||||||
echo "♥ $bat_stat $bat_perc"
|
echo "♥ $bat_stat $bat_perc"
|
||||||
|
else
|
||||||
|
echo "♥ $bat_perc"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#run main driver program
|
#run main driver program
|
||||||
|
|
Loading…
Reference in a new issue