awesome-wm-widgets/BatteryWidget
streetturtle 1b955adc11 readme for email widget 2015-12-25 23:36:30 +01:00
..
battery-icons Moved to special folder 2015-07-13 18:26:39 +02:00
README.md small refactoring + readme 2015-07-19 14:51:58 +02:00
batWid1.png Image added to readme 2015-07-13 18:33:42 +02:00
batWid2.png Image added to readme 2015-07-13 18:33:42 +02:00
batWid3.png readme for email widget 2015-12-25 23:36:30 +01:00
battery.lua Update battery.lua 2015-12-25 23:28:08 +01:00

README.md

Battery widget

Simple and easy-to-install widget for Awesome Window Manager.

This widget consists of

  • an icon which shows the battery status: Battery Widget
  • a pop-up window, which shows up when you hover over it: Battery Widget
  • a pop-up warning message which appears when battery level is less that 15%: Battery Widget

Installation

This widget uses the output of acpi tool.

  • install acpi tool:
sudo apt-get install acpi
  • clone/copy battery.lua file and battery-icons folder to your ~/home/username/.config/awesome/ folder;

  • change path to the icons in battery.lua;

  • include battery.lua and add battery widget to your wibox in rc.lua:

require("battery")
...
right_layout:add(batteryIcon)