Compare commits

...

2 Commits

View File

@ -40,25 +40,25 @@ if [[ "$(uname)" = 'Linux' ]]; then
function get_charging_battery_icon {
let charge_percent="${1}"
if ((${charge_percent} <= 10)); then
echo -n '󰢜'
echo -n '󰢜 '
elif ((${charge_percent} <= 20)); then
echo -n '󰂆'
echo -n '󰂆 '
elif ((${charge_percent} <= 30)); then
echo -n '󰂇'
echo -n '󰂇 '
elif ((${charge_percent} <= 40)); then
echo -n '󰂈'
echo -n '󰂈 '
elif ((${charge_percent} <= 50)); then
echo -n '󰢝'
echo -n '󰢝 '
elif ((${charge_percent} <= 60)); then
echo -n '󰢝'
echo -n '󰢝 '
elif ((${charge_percent} <= 70)); then
echo -n '󰢞'
echo -n '󰢞 '
elif ((${charge_percent} <= 80)); then
echo -n '󰂊'
echo -n '󰂊 '
elif ((${charge_percent} < 100)); then
echo -n '󰂋'
echo -n '󰂋 '
else
echo -n '󰂅'
echo -n '󰂅 '
fi
}