diff options
author | Amin Bandali <bandali@kelar.org> | 2024-08-30 17:54:01 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2024-08-30 17:54:01 -0400 |
commit | 63879fc37e2b7e7f4d6069dfc287a85ee758b1f8 (patch) | |
tree | 8451cb5c68db1ce7c548325578a44d1a7a236f4f /.local/bin/b-bar | |
parent | dcb96b515fa65eee556df976375692cef48db21d (diff) | |
download | configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.gz configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.tar.xz configs-63879fc37e2b7e7f4d6069dfc287a85ee758b1f8.zip |
Various updates from anahita
Diffstat (limited to '.local/bin/b-bar')
-rwxr-xr-x | .local/bin/b-bar | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/b-bar b/.local/bin/b-bar index cfcd4cc..8f23563 100755 --- a/.local/bin/b-bar +++ b/.local/bin/b-bar @@ -17,6 +17,7 @@ do ;; *) b0="/sys/class/power_supply/BAT0" + [ "$h" = "anahita" ] && b0="/sys/class/power_supply/sbs-9-000b" bat="$(cat $b0/capacity)" # batl="$(cat $b0/capacity_level)" printf "%s%% | %s | %s | %s\n" \ |