mirror of https://github.com/lcpz/lain.git
Updated brightness (markdown)
This commit is contained in:
parent
f241c70a7f
commit
346db7c907
|
@ -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),
|
Loading…
Reference in New Issue