summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BatteryWidget/README.md4
1 files changed, 3 insertions, 1 deletions
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)
```