summary refs log tree commit diff
path: root/bin/bri.1
blob: 68a69bd5858ae396eba4424500ab9c4be4cda18a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.Dd $Mdocdate$
.Dt BRI 1
.Sh NAME
.Nm bri
.Nd backlight brightness control
.Sh SYNOPSIS
.Nm bri Op Ar brightness
.Nm bri Cm +
.Nm bri Cm -
.Sh DESCRIPTION
.Nm
controls the backlight brightness on Linux.
.Pp
With no argument,
the current brightness is printed.
With a numerical
.Ar brightness
argument,
the brightness is set.
.Pp
The
.Cm +
and
.Cm -
arguments
may be repeated any number of times
and adjust the brightness
in increments of 16.
.Sh FILES
.Bl -tag -width "/sys/class/backlight" -compact
.It Pa /sys/class/backlight
Files under the first subdirectory found
are used to control the backlight brightness.
.El