Compare commits

..

1 commit

Author SHA1 Message Date
Zhongheng Liu
b86a4183f9 feat: add battery monitoring convenience script 2026-06-14 17:12:49 +02:00

1
scripts/adpon.sh Executable file
View file

@ -0,0 +1 @@
[ "$(cat /sys/class/power_supply/ADP*/online 2>/dev/null)" = "1" ] && echo "ADP Online" || echo "ADP Offline; using battery"