Compare commits
No commits in common. "76c2d59fccd504f49d55bac4d65f72860c10c279" and "ca5b3e68ba0a42bbca664da0ffee3f059e845247" have entirely different histories.
76c2d59fcc
...
ca5b3e68ba
@ -40,25 +40,25 @@ if [[ "$(uname)" = 'Linux' ]]; then
|
|||||||
function get_charging_battery_icon {
|
function get_charging_battery_icon {
|
||||||
let charge_percent="${1}"
|
let charge_percent="${1}"
|
||||||
if ((${charge_percent} <= 10)); then
|
if ((${charge_percent} <= 10)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 20)); then
|
elif ((${charge_percent} <= 20)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 30)); then
|
elif ((${charge_percent} <= 30)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 40)); then
|
elif ((${charge_percent} <= 40)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 50)); then
|
elif ((${charge_percent} <= 50)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 60)); then
|
elif ((${charge_percent} <= 60)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 70)); then
|
elif ((${charge_percent} <= 70)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} <= 80)); then
|
elif ((${charge_percent} <= 80)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
elif ((${charge_percent} < 100)); then
|
elif ((${charge_percent} < 100)); then
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
else
|
else
|
||||||
echo -n ' '
|
echo -n ''
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user