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