Aerial-Desktop / Aerial_Desktop

Macintosh Application installs Aerial ScreenSaver and sets as a Desktop Background. 🚀 🎩
50 stars 4 forks source link

battery_percentage only show notification once. #23

Closed MichaelDimmitt closed 7 years ago

MichaelDimmitt commented 7 years ago

Bash script implementation. For quickly updating master branch.

Only show notification once.
Current issue is that the launch agent monitors every five seconds.

However, I only want to display a notification the one time that it is shut off.

Possible solution: failures of unload launchctl do not trigger.

possibly consult Jacob Menke about this @MenkeTechnologies.

Probably easier to perform in ruby but need the bash implementation for a quick fix before the porting the code over to ruby kicks in.

MichaelDimmitt commented 7 years ago

https://github.com/MichaelDimmitt/Aerial_Desktop/commit/57167e1e075a17642348181667185c954b57d403