summaryrefslogtreecommitdiff
path: root/BatteryWidget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2015-07-13 18:42:24 +0200
committerstreetturtle <streetturtle@users.noreply.github.com>2015-07-13 18:42:24 +0200
commitd5aa9922b3b80cbaa2c86e4b32d061d88fefb64d (patch)
tree38f51e9d3902250de1c3016fbcf2b6e1722bda17 /BatteryWidget
parentd04ac873794895ef800b9a19068ad88ff86ac2d8 (diff)
Add require
Diffstat (limited to 'BatteryWidget')
-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)
```