MidhunSureshR / pypower

A py3status module for detecting power data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pypower

A small but effective py3status module for displaying power details on py3status bar.

screenshot

Motivation

The default battery module for py3status ( battery_level ) does not work on some devices. This is an alternative module that can be used in such cases.

Note: This was made as a quick fix and contains pretty bad code. There is a lot of room for improvement.

Prerequisites

How to use

Add the following line to your pystatus config file:

order += "pypower"

Make sure you pass location of this module in your i3config. It should look like this:

bar {
      ...
      
      status_command py3status -i /path/to/this/pypower-module/
      
      ...
}

Acknowledgement

wogscpar for his UPower wrapper.

About

A py3status module for detecting power data.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%