summaryrefslogtreecommitdiff
path: root/ram-widget
diff options
context:
space:
mode:
authorArjuna Del Toso <arjuna.deltoso@gmail.com>2021-04-13 14:15:30 -0700
committerGitHub <noreply@github.com>2021-04-13 14:15:30 -0700
commita17b55a3fbb61f9a082374aedb76a1e1fc1576c9 (patch)
tree8081789740e160145f588f6c3fae21f4232b1d0b /ram-widget
parent7ea3eec17924a814ec3109958ba9d2db50e87ffd (diff)
Update README.md
Adding copy/paste similar to other widgets.
Diffstat (limited to 'ram-widget')
-rw-r--r--ram-widget/README.md18
1 files changed, 17 insertions, 1 deletions
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(),
+ ...
+ }
+ ...
+```
+