Merge pull request #997 from lfelipe1501/patch-1

Changes in the battery plugin and in the Atomic Theme
This commit is contained in:
Nils Winkler
2017-07-13 08:42:46 +02:00
committed by GitHub
2 changed files with 20 additions and 1 deletions

View File

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