From bd40926586e82e72c45d13fd58a96607bac137c6 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 20 Feb 2024 20:07:37 +0100 Subject: chore(version): v1.30.0 --- hm/soispha/pkgs/scripts/wrappers/battery.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hm/soispha/pkgs/scripts/wrappers/battery.sh') diff --git a/hm/soispha/pkgs/scripts/wrappers/battery.sh b/hm/soispha/pkgs/scripts/wrappers/battery.sh index b2446ac3..65485dff 100755 --- a/hm/soispha/pkgs/scripts/wrappers/battery.sh +++ b/hm/soispha/pkgs/scripts/wrappers/battery.sh @@ -3,7 +3,7 @@ # shellcheck source=/dev/null SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH -capacity="$(cat /sys/class/power_supply/BAT0/capacity)"; +capacity="$(cat /sys/class/power_supply/BAT0/capacity)" status="$(cat /sys/class/power_supply/BAT0/status)" printf "%s%% (%s)\n" "$capacity" "$status" -- cgit 1.4.1