Update README.md

This commit is contained in:
streetturtle 2017-12-03 14:04:14 -05:00 committed by GitHub
parent d12e29a102
commit ad96599fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,13 @@ sprtr,
# Installation
Clone the repo under **~/.config/awesome/**, then in **rc.lua** add the import of the widget you'd like to use in "require" section on the top of the file:
First install acpi which is used to get information about the battery, in Ubuntu it's just
```bash
sudo apt-get install acpi
```
Then clone the repo under **~/.config/awesome/**, then in **rc.lua** add the import of the widget you'd like to use in "require" section on the top of the file:
```lua
require("awesome-wm-widgets.battery-widget.battery")