From a17b55a3fbb61f9a082374aedb76a1e1fc1576c9 Mon Sep 17 00:00:00 2001 From: Arjuna Del Toso Date: Tue, 13 Apr 2021 14:15:30 -0700 Subject: Update README.md Adding copy/paste similar to other widgets. --- ram-widget/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'ram-widget') diff --git a/ram-widget/README.md b/ram-widget/README.md index 8f8eee4..7739190 100644 --- a/ram-widget/README.md +++ b/ram-widget/README.md @@ -18,4 +18,20 @@ It is possible to customize widget by providing a table with all or some of the ## Installation -Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo. \ No newline at end of file +Please refer to the [installation](https://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo. + +Clone repo, include widget and use it in **rc.lua**: + +```lua +local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget") +... +s.mytasklist, -- Middle widget + { -- Right widgets + layout = wibox.layout.fixed.horizontal, + ... + ram_widget(), + ... + } + ... +``` + -- cgit v1.2.3 From c4c950446478231ac6f568cd26599b1677ec3221 Mon Sep 17 00:00:00 2001 From: Arjuna Del Toso Date: Tue, 13 Apr 2021 14:19:43 -0700 Subject: Update README.md --- ram-widget/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ram-widget') diff --git a/ram-widget/README.md b/ram-widget/README.md index 7739190..dcbf9ab 100644 --- a/ram-widget/README.md +++ b/ram-widget/README.md @@ -30,7 +30,7 @@ s.mytasklist, -- Middle widget layout = wibox.layout.fixed.horizontal, ... ram_widget(), - ... + ... } ... ``` -- cgit v1.2.3