Specify `lua` in markdown
This commit is contained in:
parent
5ce56e036f
commit
def950de4c
14
README.md
14
README.md
|
@ -88,14 +88,18 @@ Add the following to your `~/.config/awesome/rc.lua`:
|
||||||
|
|
||||||
Require the module:
|
Require the module:
|
||||||
|
|
||||||
-- require *after* `beautiful.init` or the theme will be inconsistent!
|
```lua
|
||||||
local connman = require("connman_widget")
|
-- require *after* `beautiful.init` or the theme will be inconsistent!
|
||||||
-- override the GUI client.
|
local connman = require("connman_widget")
|
||||||
connman.gui_client = "wicd"
|
-- override the GUI client.
|
||||||
|
connman.gui_client = "wicd"
|
||||||
|
```
|
||||||
|
|
||||||
Add the widget to your layout:
|
Add the widget to your layout:
|
||||||
|
|
||||||
right_layout:add(connman)
|
```lua
|
||||||
|
right_layout:add(connman)
|
||||||
|
```
|
||||||
|
|
||||||
# Limitations
|
# Limitations
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue