summaryrefslogtreecommitdiff
path: root/BatteryWidget/README.md
blob: b4e523263653eabc52e090041e852ff261dd6f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## Battery widget
Simple and easy-to-install widget for Awesome Window Manager.

Basically this widget consist of an icon which shows the battery status: ![Battery Widget](./batWid1.png)

And a pop-up window, which shows when you hover over it: ![Battery Widget](./batWid2.png)

## 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;

- add battery widget to your wibox in rc.lua:
```
right_layout:add(batteryIcon)
```