Update atomic.theme.bash

Improvements in the theme
pull/997/head
Luis Felipe Sánchez 2017-07-03 12:09:27 -05:00 committed by GitHub
parent f13e04fdb0
commit d2fb415856
1 changed files with 1 additions and 1 deletions

View File

@ -177,8 +177,8 @@ ___atomic_prompt_battery() {
color=$IRed color=$IRed
fi fi
box="[|]" box="[|]"
ac_adapter_disconnected && info="-"
ac_adapter_connected && info="+" ac_adapter_connected && info="+"
ac_adapter_disconnected && info="-"
info+=$batp info+=$batp
[ "$batp" -eq 100 ] || [ "$batp" -gt 100 ] && info="AC" [ "$batp" -eq 100 ] || [ "$batp" -gt 100 ] && info="AC"
printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}" printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}"