diff options
author | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
commit | 88cd0d91863c65f5007da7e06a6fb78b74b050bb (patch) | |
tree | 75e9752229dc5ac8000eac4dc27efffe5adf54c7 /.local/bin/status/sb-battery | |
parent | up (diff) | |
download | dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.gz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.bz2 dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.xz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.zst dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.zip |
bar update
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 |