mirror of https://github.com/lcpz/lain.git
Updated brightness (markdown)
This commit is contained in:
parent
e379b9649b
commit
9f6ff057f4
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Shows the current level of screen brightness in a textbox.
|
Shows the current level of screen brightness in a textbox.
|
||||||
|
|
||||||
mybrightness = lain.widgets.contrib.brightness()
|
brightnesswidget = lain.widgets.contrib.brightness()
|
||||||
|
|
||||||
### input table
|
### input table
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Variable | Meaning | Type
|
||||||
|
|
||||||
You can control the widget with key bindings like these:
|
You can control the widget with key bindings like these:
|
||||||
|
|
||||||
-- Volume control
|
-- Brightness control
|
||||||
awful.key({}, "XF86MonBrightnessUp",
|
awful.key({}, "XF86MonBrightnessUp",
|
||||||
function ()
|
function ()
|
||||||
awful.util.spawn("xbacklight -inc 1")
|
awful.util.spawn("xbacklight -inc 1")
|
||||||
|
|
Loading…
Reference in New Issue