From 4cf337b4f25b91eeb763e3ddf6b86252a0afbc9f Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 24 Dec 2024 21:54:59 +0100 Subject: status up --- .local/bin/status/sb-battery | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.local/bin/status/sb-battery') 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 "󱐋 " ;; -- cgit v1.2.3