return appropriate icon for 'finishing charge' (#115)

This commit is contained in:
purajit 2025-12-30 10:02:01 -05:00 committed by GitHub
parent e3b7fe0641
commit c2eafd79f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ get_icon_status_settings() {
print_icon_status() {
local status=$1
if [[ $status =~ (charged) || $status =~ (full) ]]; then
if [[ $status =~ (charged) || $status =~ (full) || $status =~ (^finishing charge) ]]; then
printf "$icon_status_charged"
elif [[ $status =~ (^charging) ]]; then
printf "$icon_status_charging"