]> 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:

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