diff options
author | Soispha <soispha@vhack.eu> | 2024-02-20 20:07:37 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-20 20:07:37 +0100 |
commit | bd40926586e82e72c45d13fd58a96607bac137c6 (patch) | |
tree | 0be176b840eb969fd9fbe9cb58a6d65e0d06f8dc | |
parent | feat(hm/pkgs/battery): Init (diff) | |
download | nixos-config-bd40926586e82e72c45d13fd58a96607bac137c6.tar.gz nixos-config-bd40926586e82e72c45d13fd58a96607bac137c6.zip |
chore(version): v1.30.0
-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" |