Giter Club home page Giter Club logo

py3status-ups-battery-status's Introduction

py3status-ups-battery-status

Python module for py3status to monitor my UPS battery status

Downloads

Screenshot

py3status-ups-batter-status

Installation

With Pip

pip install py3status-ups-battery-status

From Git

git clone https://github.com/mcgillij/py3status-ups-battery-status.git
mkdir -p ~/.i3/py3status && cd ~/.i3/py3status
ln -s <PATH_TO_CLONED_REPO>/src/py3status-ups-battery-status/ups-battery-status.py ./

Building From AUR (Arch)

git clone https://aur.archlinux.org/py3status-ups-battery-status.git
cd py3status-ups-battery-status
makechrootpkg -c -r $HOME/$CHROOT

Installing Arch package

sudo pacman -U --asdeps py3status-ups-battery-status-*-any.pkg.tar.zst

Dependencies

This module depends on the Network UPS Tools(nut) package. And having already configured your battery with it. It assumes that you've named your battery battery. If you've named it something else you can change it in the module itself.

Dependency installation on Arch:

pacman -S nut

Dependency installation on Debian:

apt install nut

Usage

Add the module to your list of configured py3status modules

~/.config/i3status.conf

...
order += "arch_updates"
order += "volume_status"
order += "ups_battery_status"
...

And then just restart your i3 session.

py3status-ups-battery-status's People

Contributors

mcgillij avatar jab416171 avatar

Watchers

James Cloos avatar

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.