diff options
Diffstat (limited to '.local/bin/status/sb-battery')
-rwxr-xr-x | .local/bin/status/sb-battery | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/status/sb-battery b/.local/bin/status/sb-battery index ca4ff69..e4b29c6 100755 --- a/.local/bin/status/sb-battery +++ b/.local/bin/status/sb-battery @@ -1,9 +1,9 @@ #!/bin/sh -echo -n "^c#fabd2f^" case $(hostname -s) in mother) exit ;; po-rbo) + echo -n "^c#fabd2f^" charge=$(cat /sys/class/power_supply/BAT0/capacity) case "$(cat /sys/class/power_supply/BAT0/status)" in "Charging"|"Not charging") printf " " ;; @@ -11,6 +11,7 @@ case $(hostname -s) in esac ;; mars) + echo -n "^c#fabd2f^" charge=$(apm -l) [ "$(apm -b)" -eq 3 ] && printf " " ;; |