test #1

Open
ptrcnull wants to merge 2 commits from test into master
2 changed files with 1 additions and 2 deletions

View file

@ -20,8 +20,6 @@ func notify(msg string) {
var targetFlag = flag.Int("target", 15, "when to send the alert")
func main() {
flag.Parse()
sent := false
for {
capacity, err := os.ReadFile("/sys/class/power_supply/BAT0/capacity")

1
test.txt Normal file
View file

@ -0,0 +1 @@