Skip to content

JoshOldenburg/tmux-battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmux-battery

Incredibly simple CLI to show the battery level in tmux. Mac specific.

screenshot

You can see the checkmark on the left of the date.

This is written in C using CoreFoundation and IOKit.

Usage

tmux-battery

It outputs:

  • Full battery, plugged in: a checkmark
  • Charging battery, plugged in: an up arrow and the percentage
  • Discharging battery, not plugged in: a down arrow and the percentage
  • Below the threshold (10% by default): a down arrow, the percentage, and an exclamation point

About

Incredibly simple CLI to show the battery level in tmux.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages