Backlight
Slider widget to change screen brightness (/sys/class/backlight
).
Example:
{
"edge": "top",
"position": "right",
"layer": "overlay",
"margin": {
"right": "12.5%"
},
"widget": {
"type": "backlight",
"width": 20,
"height": "12.5%",
"frame_rate": 60,
"fg_color": "#82AAFF"
}
}
Extern Slide
All Slide
configuration applied here.
type*
const `backlight`
device_name
Hardware name, you can find it under /sys/class/backlight
.
Provide null
to use default from org.freedesktop.login1.Session
.
Type: null | string
Default: null
redraw_only_on_pa_change
Drag slider won't affect progress immediately. Send the changed value first and redraw after Backlight
.
Type: bool
Default: false