Destroyed To start (markdown)
This commit is contained in:
parent
81992cd18c
commit
50d1f754c1
1 changed files with 0 additions and 26 deletions
26
To-start.md
26
To-start.md
|
@ -1,26 +0,0 @@
|
||||||
All you have to do to include the module:
|
|
||||||
|
|
||||||
local lain = require("lain")
|
|
||||||
|
|
||||||
Some widgets require a terminal, lain default is `xterm`, but can be changed:
|
|
||||||
|
|
||||||
lain.widgets.terminal = "urxvtc"
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
lain.widgets.terminal = terminal
|
|
||||||
|
|
||||||
providing you have something like this:
|
|
||||||
|
|
||||||
terminal = "urxvtc"
|
|
||||||
|
|
||||||
in your `rc.lua`.
|
|
||||||
|
|
||||||
`terminal` may also be a lua function that accepts one parameter.
|
|
||||||
Something like this:
|
|
||||||
|
|
||||||
function footerm(cmd)
|
|
||||||
-- elaborate cmd
|
|
||||||
end
|
|
||||||
|
|
||||||
lain.widgets.terminal = footerm
|
|
Loading…
Add table
Reference in a new issue