Skip to content

Commit d26459b

Browse files
authored
Update battery_icon_status.sh
Add return appropriate icon for 'finishing charge' tmux-plugins#115 - ( tmux-plugins#115 )
1 parent 44899f4 commit d26459b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/battery_icon_status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ get_icon_status_settings() {
3939

4040
print_icon_status() {
4141
local status=$1
42-
if [[ $status =~ (charged) || $status =~ (full) ]]; then
42+
if [[ $status =~ (charged) || $status =~ (full) || $status =~ (^finishing charge) ]]; then
4343
printf "$icon_status_charged"
4444
elif [[ $status =~ (^charging) ]]; then
4545
printf "$icon_status_charging"

0 commit comments

Comments
 (0)