From 61c57a2240ad593c888f9ad126389c66df74b3c8 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Tue, 2 Jan 2018 18:14:14 +0800 Subject: README: fix installation guide for battery widget Signed-off-by: Chengwei Yang --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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): -- cgit v1.2.3