Merge pull request #25 from chengweiv5/fix-installation-guide

README: fix installation guide for battery widget
This commit is contained in:
streetturtle 2018-01-05 10:08:10 -05:00 committed by GitHub
commit 9b3768e27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ sprtr,
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")
local battery_widget = require("awesome-wm-widgets.battery-widget.battery")
```
and then add widget to the wibox (you can search for **mytextclock** and add widget before):