Updated brightness (markdown)

This commit is contained in:
Luke Bonham 2013-12-23 09:14:39 -08:00
parent f241c70a7f
commit 346db7c907
1 changed files with 4 additions and 4 deletions

View File

@ -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),