From f936b1e4857fdc4d37ece6d6065c28951da3ff02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Felipe=20S=C3=A1nchez?= Date: Fri, 26 May 2017 13:41:08 -0500 Subject: [PATCH] Update atomic.theme.bash Minor Updates u_u --- 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 9b8ea14c..6a7819f5 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" -eq 50 ] && [ "$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" -eq 25 ] && [ "$batp" -lt 25 ]; then + elif [ "$batp" -eq 25 ] || [ "$batp" -lt 25 ]; then color=$IRed fi box="[|]"