Nonvoluntary Professional Mangling
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@statusbar/battery

0.1.0 • Public • Published

@statusbar/battery

A battery status block for Statusbar.

Usage

const battery = require('@statusbar/battery')
 
bar.use(battery())

Dependencies

This block uses upower to retrieve battery information. It probably came preinstalled with your OS, and if not it should be available in the relevant repositories:

apt-get install upower
# or 
pacman -S upower
# etc 

License

MIT

Keywords

none

install

npm i @statusbar/battery

Downloadsweekly downloads

2

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar