From d5aa9922b3b80cbaa2c86e4b32d061d88fefb64d Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 13 Jul 2015 18:42:24 +0200 Subject: Add require --- BatteryWidget/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BatteryWidget/README.md b/BatteryWidget/README.md index b4e5232..2965720 100644 --- a/BatteryWidget/README.md +++ b/BatteryWidget/README.md @@ -14,7 +14,9 @@ sudo apt-get install acpi ``` - clone/copy battery.lua file and battery-icons folder to your ~/home/username/.config/awesome/ folder; -- add battery widget to your wibox in rc.lua: +- include `battery.lua` and add battery widget to your wibox in rc.lua: ``` +require("battery") +... right_layout:add(batteryIcon) ``` -- cgit v1.2.3