Giter VIP home page Giter VIP logo

bali's Introduction

Bali

The unobtrusive Battery Life monitor

Introduction

Bali is a lightweight program designed to alert you when your battery level goes down. Minimal Linux installations often lack a mechanism to alert the user when the system's battery level goes down. Yes, you can install a panel with a battery widget. But it can steal some of your screen real estate and creates one more guage for you to look on. Bali is designed to address this issue. It is designed to be as unobtrusive as possbile. It uses libnotify to present battery value as notifications only when required.

Usage

bali [options]

-h  --help      displays short help screen  
-d  --daemon    runs Bali in daemon mode (default mode)  
-n  --nogui     prints the battery status to stdout  

Requirements

  • A notification daemon compatible with libnotify (dunst)
  • libnotify
  • cron

Configuration

Bali can be configured by editing the configuration file at ~/.config/bali.conf

notification=30     set battery level notification at 30%
notification=20     any number of notifications can be present  
low_warning=10      shows battery low warning at 10%
critical_warning=5  shows critical battery warning at 5%
check_interval=1    check battery value every 1 minute

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.