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_perc=$(battery_percent)
|
||||
echo "♥ $bat_stat$bat_perc"
|
||||
|
||||
if [ -z "$bat_stat" ]; then # Test if status is empty or not
|
||||
echo "♥ $bat_stat $bat_perc"
|
||||
else
|
||||
echo "♥ $bat_perc"
|
||||
fi
|
||||
}
|
||||
|
||||
#run main driver program
|
||||
|
|
Loading…
Reference in a new issue