1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

fixed heat palette battery display when remaining percentage <= 5%

This commit is contained in:
Gregory Pakosz 2015-04-30 12:15:08 +02:00
parent b37311fbbe
commit ad6413365e

View file

@ -395,7 +395,7 @@ run 'for name in $(printenv | grep -Eo ^tmux_conf_[^=]+); do tmux setenv -gu $na
# printf "%0.s$battery_symbol_empty" $(seq 1 $empty) # printf "%0.s$battery_symbol_empty" $(seq 1 $empty)
# else # else
# [ $empty -gt 0 ] && \ # [ $empty -gt 0 ] && \
# printf "#[fg=colour%s]$battery_symbol_empty" $(echo $heat | cut -d' ' -f$full-$(expr $full + $empty)) # printf "#[fg=colour%s]$battery_symbol_empty" $(echo $heat | cut -d' ' -f$((full+1))-$(($full + $empty)))
# fi # fi
# fi # fi
# } # }