Update README.md
Adding copy/paste similar to other widgets.
This commit is contained in:
parent
7ea3eec179
commit
a17b55a3fb
|
@ -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.
|
||||
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(),
|
||||
...
|
||||
}
|
||||
...
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue