Make the target actually configurable

This commit is contained in:
Maja Kądziołka 2023-03-05 15:09:49 +01:00
parent cc129b9387
commit d230d84e91
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ func main() {
notify("error: " + err.Error()) notify("error: " + err.Error())
} }
if numCap < 15 { if numCap <= *targetFlag {
if !sent { if !sent {
sent = true sent = true
notify("battery running low!") notify("battery running low!")