summary refs log tree commit diff
path: root/bin/bri.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 16:52:17 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 16:52:17 -0400
commit240790a178fa1ab618d8b1269ddb167cbbc940c4 (patch)
tree79556d0339dc0f9980c6ee4281609686c568c7ec /bin/bri.1
parentAdd In for a World of Hurt (diff)
downloadsrc-240790a178fa1ab618d8b1269ddb167cbbc940c4.tar.gz
src-240790a178fa1ab618d8b1269ddb167cbbc940c4.zip
Add bri.1
Diffstat (limited to 'bin/bri.1')
-rw-r--r--bin/bri.134
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/bri.1 b/bin/bri.1
new file mode 100644
index 00000000..68a69bd5
--- /dev/null
+++ b/bin/bri.1
@@ -0,0 +1,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