From 692c3516d55361b8cf340bf3e8f329584c444a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Felipe=20S=C3=A1nchez?= Date: Fri, 26 May 2017 13:38:22 -0500 Subject: [PATCH] Update atomic.theme.bash Minor Updates --- themes/atomic/atomic.theme.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/atomic/atomic.theme.bash b/themes/atomic/atomic.theme.bash index e42db6e2..9b8ea14c 100644 --- a/themes/atomic/atomic.theme.bash +++ b/themes/atomic/atomic.theme.bash @@ -169,11 +169,11 @@ ___atomic_prompt_battery() { chk=$(isFunction battery_percentage && echo yes || echo no) [ "$chk" != "yes" ] || [ "${THEME_SHOW_BATTERY}" != "true" ] && return batp=$(battery_percentage) - if [ "$batp" -gt 50 ]; then + if [ "$batp" -eq 50 ] && [ "$batp" -gt 50 ]; then color=$bold_green elif [ "$batp" -lt 50 ] && [ "$batp" -gt 25 ]; then color=$bold_yellow - elif [ "$batp" -lt 25 ]; then + elif [ "$batp" -eq 25 ] && [ "$batp" -lt 25 ]; then color=$IRed fi box="[|]"