This commit is contained in:
Zhongheng Liu 2026-05-18 12:37:25 +02:00
commit f2bcaf389e
9 changed files with 1 additions and 16 deletions

2
scripts/batman.sh Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/bash
echo $(wcalc -q "round($(cat /sys/class/power_supply/BAT1/charge_now)/$(cat /sys/class/power_supply/BAT1/charge_full) * 100)")%