summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-battery
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-24 21:29:43 +0100
committerJoe <rbo@gmx.us>2024-12-24 21:29:43 +0100
commit6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818 (patch)
treef3d6d01b779222151fef46c164458d9fb6b6f1a8 /.local/bin/status/sb-battery
parentbar update (diff)
downloaddotfiles-bsd-6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818.tar.gz
dotfiles-bsd-6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818.tar.bz2
dotfiles-bsd-6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818.tar.xz
dotfiles-bsd-6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818.tar.zst
dotfiles-bsd-6176ed9a99e3824cfd1a6c4cbcc30a3c90ac7818.zip
up
Diffstat (limited to '')
-rwxr-xr-x.local/bin/status/sb-battery2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-battery b/.local/bin/status/sb-battery
index e239aea..ca4ff69 100755
--- a/.local/bin/status/sb-battery
+++ b/.local/bin/status/sb-battery
@@ -2,7 +2,7 @@
echo -n "^c#fabd2f^"
case $(hostname -s) in
- mother) return ;;
+ mother) exit ;;
po-rbo)
charge=$(cat /sys/class/power_supply/BAT0/capacity)
case "$(cat /sys/class/power_supply/BAT0/status)" in