From: Luke Bonham Date: Sat, 7 Sep 2013 12:03:04 +0000 (-0700) Subject: Created sysload (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/296e0172a4a15f52c4b39fa3c1a8c9706c374057?ds=sidebyside;hp=a4b6e75ba37146a84c8cfbd8eeb435061677f0d9 Created sysload (markdown) --- diff --git a/sysload.md b/sysload.md new file mode 100644 index 0000000..5b925b1 --- /dev/null +++ b/sysload.md @@ -0,0 +1,14 @@ +Show the current system load in a textbox. + + mysysload = lain.widgets.systemload() + +The function takes a table as optional argument, which can contain: + +Variable | Meaning | Type | Default +--- | --- | --- | --- +`show_all` | Show all the three values (true), or only the first one (false) | boolean | false +`refresh_timeout` | Refresh timeout seconds | int | 5 +`header` | Text to show before value | string | " Load " +`header_color` | Header color | string | `beautiful.fg_normal` or "#FFFFFF" +`color` | Value color | string | `beautiful.fg_focus` or "#FFFFFF" +`app` | Proc program to spawn on click | string | "top" \ No newline at end of file