mirror of
https://github.com/tmux-plugins/tmux-battery.git
synced 2026-09-10 07:26:19 -04:00
return appropriate icon for 'finishing charge' (#115)
This commit is contained in:
parent
e3b7fe0641
commit
c2eafd79f2
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue