diff options
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/battery.sh | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1355adbc..673eba6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## v1.30.0 - 2024-02-20 +#### Features +- **(hm/pkgs/battery)** Init - (954ff9a) - Soispha + +- - - + ## v1.29.0 - 2024-02-20 #### Features - **(hm/conf/firefox)** Add order of search engines - (901751c) - Soispha 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" |