Update README.md

Adding copy/paste similar to other widgets.
This commit is contained in:
Arjuna Del Toso 2021-04-13 14:15:30 -07:00 committed by GitHub
parent 7ea3eec179
commit a17b55a3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -19,3 +19,19 @@ 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.
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(),
...
}
...
```