From 547487e7309966c5ceab7d57fea97590c5bb013c Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Thu, 12 Sep 2013 17:29:55 -0700 Subject: [PATCH] Updated temp (markdown) --- temp.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/temp.md b/temp.md index f7315b6..91f3031 100644 --- a/temp.md +++ b/temp.md @@ -1,16 +1,20 @@ [<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) -Show the current core temperature in a textbox. +Shows the current core temperature in a textbox. Reads from `/sys/class/thermal`, so value is expressed in Celsius. mytemp = lain.widgets.temp() -The function takes a table as optional argument, which can contain: +### input table Variable | Meaning | Type | Default --- | --- | --- | --- `timeout` | Refresh timeout seconds | int | 5 `settings` | User settings | function | empty function -`settings` can use the string `coretemp_now`, which means current core temperature, expressed in Celsius (linux standard). \ No newline at end of file +`settings` can use the string `coretemp_now`, which means current core temperature, expressed in Celsius (linux standard). + +### output + +A textbox. \ No newline at end of file -- 2.39.2