]> git.madduck.net Git - etc/awesome.git/commitdiff

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 To start (markdown)
authorLuke Bonham <dadasignificanulla@gmail.com>
Sat, 7 Sep 2013 10:10:58 +0000 (03:10 -0700)
committerLuke Bonham <dadasignificanulla@gmail.com>
Sat, 7 Sep 2013 10:10:58 +0000 (03:10 -0700)
To-start.md [new file with mode: 0644]

diff --git a/To-start.md b/To-start.md
new file mode 100644 (file)
index 0000000..9135be2
--- /dev/null
@@ -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
\ No newline at end of file