initial commit

This commit is contained in:
Ranomier 2024-11-11 02:31:05 +01:00
commit b39b82463b
13 changed files with 214 additions and 0 deletions

5
battery Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# docstring=just shows the current capacity
set -E -o pipefail
cat /sys/class/power_supply/BAT0/capacity