feat(battery): support custom ac-powered indicator

This commit is contained in:
ryuujo1573 2024-06-28 13:40:53 +08:00
commit ad512a5643
No known key found for this signature in database
GPG key ID: 8022675B15A49233
2 changed files with 8 additions and 1 deletions

View file

@ -58,7 +58,7 @@ if [[ "$OSTYPE" = darwin* ]]; then
fi
echo "%{$fg[$color]%}[${battery_pct}%%]%{$reset_color%}"
else
echo ""
echo "${BATTERY_CHARGING-⚡️}"
fi
}