commit 038da211470672c826e2b50a2ef532e3304d210d parent 48a2ca24d1e849db5f9998fbf8ca4ed0a48c0eb9 Author: Daniel Moch <daniel@danielmoch.com> Date: Sun, 3 Jun 2018 13:31:01 -0400 Change logic for Tmux battery indicator Diffstat:
M | .local/lib/tmux/battery_indicator.sh | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.local/lib/tmux/battery_indicator.sh b/.local/lib/tmux/battery_indicator.sh @@ -4,8 +4,7 @@ # SMILE='☻ ' -battery_percent=`my battery percent` -charged_slots=$(($battery_percent/30+1)) +charged_slots=$((`my battery percent` / 25)) [ $charged_slots -gt 3 ] && charged_slots=3 echo -n '#[fg=colour108]'