···991010**xdimmer**
1111\[**-a**]
1212+\[**-b** *brighten steps*]
1213\[**-d**]
1314\[**-k**]
1415\[**-n**]
1516\[**-p** *percent*]
1616-\[**-s** *steps*]
1717+\[**-s** *dim steps*]
1718\[**-t** *timeout*]
18191920# DESCRIPTION
···2526backlight is dimmed to
2627*percent*
2728in
2828-*steps*
2929+*dim steps*
2930steps, unless the
3031*-n*
3132option was specified.
3233Once keyboard or mouse input is detected, the screen backlight is restored
3333-to its previous brightness value.
3434+to its previous brightness value in
3535+*brighten steps*
3636+steps.
34373538On OpenBSD, if the
3639*-k*
···5457> Change backlights according to ambient light sensor lux readings.
5558> Currently only supported on OpenBSD.
56596060+**-b** *steps*
6161+6262+> Number of steps to take while restoring backlight.
6363+> The default is
6464+> `5`
6565+> steps.
6666+5767**-d**
58685969> Print debugging messages to stdout.
···65756676**-n**
67776868-> Do not adjust the screen backlight (can only be used if
6969-> *-k*
7070-> is used).
7878+> Do not adjust the screen backlight when idle.
71797280**-p** *percent*
7381···9098> `120`
9199> seconds.
92100101101+# SIGNALS
102102+103103+`SIGINT`
104104+105105+> **xdimmer**
106106+> will exit, attempting to brighten the screen and/or keyboard before
107107+> exiting if they are currently in a dimmed state.
108108+109109+`SIGUSR1`
110110+111111+> **xdimmer**
112112+> will immediately dim the screen and/or keyboard (depending on
113113+> *-k*
114114+> and
115115+> *-n*
116116+> options).
117117+118118+`SIGUSR2`
119119+120120+> **xdimmer**
121121+> will immediately brighten the screen and/or keyboard if they are
122122+> in a dimmed state.
123123+93124# AUTHORS
9412595126**xdimmer**
96127was written by
97128joshua stein <[jcs@jcs.org](mailto:jcs@jcs.org)>.
981299999-OpenBSD 6.2 - September 21, 2017
130130+OpenBSD 6.6 - August 27, 2019
+19
xdimmer.1
···7878The default is
7979.Dv 120
8080seconds.
8181+.Sh SIGNALS
8282+.Bl -tag -width "SIGUSR1" -compact
8383+.It Dv SIGINT
8484+.Nm
8585+will exit, attempting to brighten the screen and/or keyboard before
8686+exiting if they are currently in a dimmed state.
8787+.Pp
8888+.It Dv SIGUSR1
8989+.Nm
9090+will immediately dim the screen and/or keyboard (depending on
9191+.Ar -k
9292+and
9393+.Ar -n
9494+options).
9595+.Pp
9696+.It Dv SIGUSR2
9797+.Nm
9898+will immediately brighten the screen and/or keyboard if they are
9999+in a dimmed state.
81100.Sh AUTHORS
82101.Nm
83102was written by