summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/status/sb-battery4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/status/sb-battery b/.local/bin/status/sb-battery
index e2a23ef..bbff010 100755
--- a/.local/bin/status/sb-battery
+++ b/.local/bin/status/sb-battery
@@ -2,7 +2,7 @@
case $(hostname -s) in
mother) return ;;
- po-rbo)
+ po-rbo)
charge=$(cat /sys/class/power_supply/BAT0/capacity)
[ "$(cat /sys/class/power_supply/BAT0/status)" = "Charging" ] && printf "󱐋 "
[ "$(cat /sys/class/power_supply/BAT0/status)" = "Not charging" ] && printf "󱐋 "
@@ -18,7 +18,7 @@ case $(echo "$charge" / 20 | bc) in
"1") printf " " ;;
"2") printf " " ;;
"3") printf " " ;;
- "4")
+ "4")
[ "$charge" -gt 94 ] && return
printf " "
;;