summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2018-01-05 10:08:10 -0500
committerGitHub <noreply@github.com>2018-01-05 10:08:10 -0500
commit9b3768e27c1952840846aed7327c80d088425cdd (patch)
tree34db2f49eb2129d4e6d0ffadc67456766470a9ab
parentcc193896fd974e86e80b8e694d37fda1ae1a782c (diff)
parent61c57a2240ad593c888f9ad126389c66df74b3c8 (diff)
Merge pull request #25 from chengweiv5/fix-installation-guide
README: fix installation guide for battery widget
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 96e0dc8..6e5fc4a 100644
--- a/README.md
+++ b/README.md
@@ -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):