init util-scripts repo

This commit is contained in:
Zhongheng Liu 2026-05-18 11:48:00 +02:00
commit 96d01820c1
7 changed files with 127 additions and 0 deletions

2
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)")%