Skip to content

Instantly share code, notes, and snippets.

@SamRothCA
Created October 30, 2014 20:52
Show Gist options
  • Select an option

  • Save SamRothCA/9ef8aabdf5862ffd8c03 to your computer and use it in GitHub Desktop.

Select an option

Save SamRothCA/9ef8aabdf5862ffd8c03 to your computer and use it in GitHub Desktop.
Battery Status
pmset -g batt | { read; read n status; echo "$status"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment