diff options
Diffstat (limited to '.local/bin/status/sb-battery')
-rwxr-xr-x | .local/bin/status/sb-battery | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/status/sb-battery b/.local/bin/status/sb-battery index d366da9..e239aea 100755 --- a/.local/bin/status/sb-battery +++ b/.local/bin/status/sb-battery @@ -1,5 +1,6 @@ #!/bin/sh +echo -n "^c#fabd2f^" case $(hostname -s) in mother) return ;; po-rbo) @@ -24,8 +25,8 @@ case $(echo "$charge" / 20 | bc) in [ "$charge" -gt 94 ] && return printf " " ;; - "5") + "5") [ "$(cat /sys/class/power_supply/BAT0/status)" = "Charging" ] && return - printf " " + printf "" ;; esac |