Giter Site home page Giter Site logo

battery-alert-linux's Introduction

Battery Alert for Linux

Low battery warning program for Linux users written in bash

Requirements

Installasi:

  1. Clone this project to:

    git clone https://github.com/asapdotid/linux-battery-alert.git ~/.config/battery-alert

    or

    git clone https://github.com/asapdotid/linux-battery-alert.git ~/.local/bin/battery-alert`
  2. Setup autostart battery-alert:

    • mkdir -p ~/.config/autostart (if not exist)

    • nano ~/.config/autostart/Battery-Alert (editor: nano/gedit/vim/nvim)

      [Desktop Entry]
      Name=Battery-Alert
      Comment=Notification for battery alert
      Exec=~/.config/battery-alert/battery-alert &
      Type=Application
      Terminal=false
      Hidden=false

      or

      [Desktop Entry]
      Name=Battery-Alert
      Comment=Notification for battery alert
      Exec=~/.local/bin/battery-alert/battery-alert &
      Type=Application
      Terminal=false
      Hidden=false
  3. Restart

i3wm Setup

Add start battery-alert to i3 config:

exec --no-startup-id ~/.config/battery-alert/battery-alert &

or

exec --no-startup-id ~/.local/bin/battery-alert/battery-alert &

Check Battery Alert running

ps aux | grep battery-alert

If any issue please contact me @asapdotid ๐Ÿ˜ƒ

battery-alert-linux's People

Contributors

asapdotid avatar

Watchers

 avatar  avatar  avatar

Forkers

silvadev robmux

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.