diff options
author | Chengwei Yang <yangchengwei@qiyi.com> | 2018-01-02 18:14:14 +0800 |
---|---|---|
committer | Chengwei Yang <yangchengwei@qiyi.com> | 2018-01-02 18:14:14 +0800 |
commit | 61c57a2240ad593c888f9ad126389c66df74b3c8 (patch) | |
tree | 1cc4125c99393dff2ab839cda8ff9c1c0569cbf7 | |
parent | 4068d4edf31bfbe1bbd579293285236b5bb36f25 (diff) |
README: fix installation guide for battery widget
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |