From d04ac873794895ef800b9a19068ad88ff86ac2d8 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 13 Jul 2015 18:40:29 +0200 Subject: Typo --- BatteryWidget/README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'BatteryWidget') diff --git a/BatteryWidget/README.md b/BatteryWidget/README.md index 5e86ed1..b4e5232 100644 --- a/BatteryWidget/README.md +++ b/BatteryWidget/README.md @@ -7,18 +7,14 @@ And a pop-up window, which shows when you hover over it: ![Battery Widget](./bat ## Installation -This widget ueses the output of acpi tool. - +This widget uses the output of acpi tool. - install `acpi` tool: -- -{% highlight bash %} +``` sudo apt-get install acpi -{% endhighlight %} - +``` - 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: - -{% highlight lua%} +``` right_layout:add(batteryIcon) -{% endhighlight %} +``` -- cgit v1.2.3 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(-) (limited to 'BatteryWidget') 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 From b874b717c915070e4bf7b3ad56aa076a5ca0126b Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 13 Jul 2015 18:47:08 +0200 Subject: typos --- BatteryWidget/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BatteryWidget') diff --git a/BatteryWidget/README.md b/BatteryWidget/README.md index 2965720..fa3925e 100644 --- a/BatteryWidget/README.md +++ b/BatteryWidget/README.md @@ -1,9 +1,9 @@ ## Battery widget Simple and easy-to-install widget for Awesome Window Manager. -Basically this widget consist of an icon which shows the battery status: ![Battery Widget](./batWid1.png) +Basically this widget consists of an icon which shows the battery status: ![Battery Widget](./batWid1.png) -And a pop-up window, which shows when you hover over it: ![Battery Widget](./batWid2.png) +And a pop-up window, which shows up when you hover over it: ![Battery Widget](./batWid2.png) ## Installation -- cgit v1.2.3