From: Luke Bonham Date: Sat, 7 Sep 2013 10:10:58 +0000 (-0700) Subject: Created To start (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7ec0f4f1534e576130b5283c753d30b1531bf92d?hp=3387b4caef938fc40d30dc0adb22386f9f3342ab Created To start (markdown) --- diff --git a/To-start.md b/To-start.md new file mode 100644 index 0000000..9135be2 --- /dev/null +++ b/To-start.md @@ -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