]> git.madduck.net Git - etc/awesome.git/blob - To-start.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Updated fs (markdown)
[etc/awesome.git] / To-start.md
1 [<- home](https://github.com/copycat-killer/lain/wiki)
2
3 All you have to do is to include the module:
4
5         local lain = require("lain")
6
7 Some widgets require a terminal, lain default is `xterm`, but can be changed:
8
9         lain.widgets.terminal = "urxvtc"
10
11 or
12
13         lain.widgets.terminal = terminal
14
15 providing you have something like this:
16
17     terminal = "urxvtc"
18
19 in your `rc.lua`.
20
21 `terminal` may also be a lua function that accepts one parameter.
22 Something like this:
23
24         function footerm(cmd)
25            -- elaborate cmd
26         end
27
28         lain.widgets.terminal = footerm