From: Luke Bonham Date: Mon, 23 Dec 2013 17:14:39 +0000 (-0800) Subject: Updated brightness (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/346db7c907c29bbe01c238c70ef5e2a16060c44c?ds=sidebyside;hp=-c Updated brightness (markdown) --- 346db7c907c29bbe01c238c70ef5e2a16060c44c diff --git a/brightness.md b/brightness.md index 590359a..5a3a9db 100644 --- a/brightness.md +++ b/brightness.md @@ -1,15 +1,15 @@ [<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) -Shows brightness level in a textbox. +Shows the current level of screen brightness in a textbox. - volumewidget = lain.widgets.contrib.brightness() + mybrightness = lain.widgets.contrib.brightness() ### input table Variable | Meaning | Type | Default --- | --- | --- | --- `timeout` | Refresh timeout seconds | int | 5 -`backlight` | Backlight Video | string | "acpi_video0" +`backlight` | Backlight video | string | "acpi_video0" `settings` | User settings | function | empty function `settings` can use the following variables: @@ -37,4 +37,4 @@ You can control the widget with key bindings like these: function () awful.util.spawn("xbacklight -dec 1") brightnesswidget.update() - end), + end), \ No newline at end of file