From 63879fc37e2b7e7f4d6069dfc287a85ee758b1f8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 30 Aug 2024 17:54:01 -0400 Subject: Various updates from anahita --- .local/bin/b-bar | 1 + 1 file changed, 1 insertion(+) (limited to '.local/bin/b-bar') 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" \ -- cgit v1.2.3-60-g2f50