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

    @statusbar/batterypublic

    @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

    Downloadslast 7 days

    1

    version

    0.1.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar