diff options
Diffstat (limited to 'hm/soispha/pkgs/scripts/wrappers/battery.sh')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/battery.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/battery.sh b/hm/soispha/pkgs/scripts/wrappers/battery.sh deleted file mode 100755 index 65485dff..00000000 --- a/hm/soispha/pkgs/scripts/wrappers/battery.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env dash - -# shellcheck source=/dev/null -SHELL_LIBRARY_VERSION="2.0.13" . %SHELL_LIBRARY_PATH - -capacity="$(cat /sys/class/power_supply/BAT0/capacity)" -status="$(cat /sys/class/power_supply/BAT0/status)" - -printf "%s%% (%s)\n" "$capacity" "$status" - -# vim: ft=sh |