summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-24 13:45:51 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-08-24 13:45:51 +0000
commitcc861074b49c3c5410f335c7e3668c542c2c46fb (patch)
tree0d032c1ac5c56ccd1847df63a93125160e75fd2a /sys/man/1
parent6ee1e4bd7898b96abb5c655bc9335df96fafa19f (diff)
reform: add reform/shortcuts
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/reform37
1 files changed, 35 insertions, 2 deletions
diff --git a/sys/man/1/reform b/sys/man/1/reform
index 9721768fb..ed1e3e52e 100644
--- a/sys/man/1/reform
+++ b/sys/man/1/reform
@@ -1,7 +1,8 @@
.TH REFORM 1
.SH NAME
audio,
-pm
+pm,
+shortcuts
- MNT Reform 2 support utilities
.SH SYNOPSIS
.B reform/audio
@@ -32,9 +33,20 @@ pm
.B -s
.I service
]
+.PP
+.B reform/shortcuts
+[
+.B -l
+.I light_step
+]
+[
+.B -v
+.I vol_step
+]
.SH DESCRIPTION
These programs provide support for certain functions of MNT Reform 2
-computing device and make controlling file systems available under
+computing device. Some of them also make controlling file systems
+available under
.BR /dev .
.PP
.SS Audio
@@ -103,6 +115,27 @@ returns the current brightness.
.TP
.B cputemp
Exposes the current temperature reading of the CPU.
+.SS Shortcuts
+.I shortcuts
+enables LCD brightness and audio volume adjustment via keyboard shortcuts.
+.PP
+The program uses Rio's
+.I kbdtap
+to function:
+.IP
+.EX
+reform/shortcuts </dev/kbdtap >/dev/kbdtap
+.EE
+.PP
+.I Super+F1/F2
+decreases/increases LCD brightness,
+.I Super+F3/F4
+decreases/increases "master" volume.
+Optionally, a single step amount can be set with
+.I -l
+for LCD light level (default is 5) and
+.I -v
+for volume (default is 3).
.SH SOURCE
.B /sys/src/cmd/reform
.SH SEE ALSO