Created To start (markdown)

This commit is contained in:
Luke Bonham 2013-09-07 03:10:58 -07:00 committed by copycat-killer
parent 9ec8af2c6f
commit 00cd5d9e59
1 changed files with 26 additions and 0 deletions

26
To-start.md Normal file
View File

@ -0,0 +1,26 @@
All you have to do is 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