From ad96599fb42961b4f78b807676ab27a9d3aab7ce Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 3 Dec 2017 14:04:14 -0500 Subject: Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c939f80..e68ee66 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,13 @@ sprtr, # Installation -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: +First install acpi which is used to get information about the battery, in Ubuntu it's just + +```bash +sudo apt-get install acpi +``` + +Then 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") -- cgit v1.2.3