summary refs log tree commit diff
path: root/bin
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
commitcdbccb2098fce77c0a111b89485bf30f4bc4fa6a (patch)
tree70c1c282c47d0e1dd1a80722607565a98c21fbae /bin
parentAdd In for a World of Hurt (diff)
downloadsrc-cdbccb2098fce77c0a111b89485bf30f4bc4fa6a.tar.gz
src-cdbccb2098fce77c0a111b89485bf30f4bc4fa6a.zip
Add bri.1
Diffstat (limited to 'bin')
-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