Skip to content

Mojave Bash utilities for accessing the battery information

License

Notifications You must be signed in to change notification settings

NewAlexandria/osx-shell-battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Battery functions for OSX

A small lib of Bash utilities for accessing the battery information.

These typically may be integrated into the command prompt, with something like

export PS1="[\$(__batt_pct)]\$(__batt_time) [\$(__batt_state)] [\d \t] "

Testing

These have been tested on OSX 10.14 Mojave. If you find they work on other OSs, please let me know!

License

MIT.

About

Mojave Bash utilities for accessing the battery information

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages