update readme

This commit is contained in:
streetturtle 2015-07-18 13:31:59 +02:00
parent b934547d38
commit 50285d4317
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,11 @@
## Battery widget
Simple and easy-to-install widget for Awesome Window Manager.
Basically this widget consists of an icon which shows the battery status: ![Battery Widget](./batWid1.png)
This widget consists of
And a pop-up window, which shows up when you hover over it: ![Battery Widget](./batWid2.png)
- an icon which shows the battery status: ![Battery Widget](./batWid1.png)
- a pop-up window, which shows up when you hover over it: ![Battery Widget](./batWid2.png)
- a pop-up warning message which appears when battery level is less that 15%.
## Installation
@ -14,6 +16,8 @@ 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")