awesome-wm-widgets/BatteryWidget
Pavel Makhov 68c48c0a73 Update battery.lua 2015-12-25 23:28:08 +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 small refactoring + readme 2015-07-19 14:51:58 +02: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)