summaryrefslogtreecommitdiffstats
path: root/.local/bin/b-bar
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/b-bar')
-rwxr-xr-x.local/bin/b-bar1
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" \