diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2015-07-13 18:42:24 +0200 |
---|---|---|
committer | streetturtle <streetturtle@users.noreply.github.com> | 2015-07-13 18:42:24 +0200 |
commit | d5aa9922b3b80cbaa2c86e4b32d061d88fefb64d (patch) | |
tree | 38f51e9d3902250de1c3016fbcf2b6e1722bda17 /BatteryWidget | |
parent | d04ac873794895ef800b9a19068ad88ff86ac2d8 (diff) |
Add require
Diffstat (limited to 'BatteryWidget')
-rw-r--r-- | BatteryWidget/README.md | 4 |
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) ``` |