From d4bc67ffdd9542acad7e11c663fb4c5d6bd87a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Felipe=20S=C3=A1nchez?= Date: Thu, 15 Jun 2017 15:37:01 -0500 Subject: [PATCH] Update Theme Minor Fixes --- themes/atomic/atomic.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/atomic/atomic.theme.bash b/themes/atomic/atomic.theme.bash index 8ac18dfd..4e58f014 100644 --- a/themes/atomic/atomic.theme.bash +++ b/themes/atomic/atomic.theme.bash @@ -178,7 +178,7 @@ ___atomic_prompt_battery() { ac_adapter_disconnected && info="-" ac_adapter_connected && info="+" info+=$batp - [ "$info" == "+100" ] && info="AC" + [ "$batp" -eq 100 ] || [ "$batp" -gt 100 ] && info="AC" printf "%s|%s|%s|%s" "${color}" "${info}" "${bold_white}" "${box}" }