aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2018-07-11 11:17:10 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2018-07-11 11:17:10 +0800
commit0e023a454381cb53147d5394d2de76b79e0816e7 (patch)
tree23b93c3dbe625f94261e96cbb142dcb3c6a93e38
parent37ba32b0bbb368a392d2e10b11e45fbde3126e69 (diff)
downloadlightsd-0e023a454381cb53147d5394d2de76b79e0816e7.tar.xz
Damn my English is so bad.
-rw-r--r--README.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/README.md b/README.md
index 77a06e5..28c6d7c 100644
--- a/README.md
+++ b/README.md
@@ -5,12 +5,12 @@
without using a full desktop environment (or `systemd`). It even works
in a tty!
-This service watches the reading from the ambient light sensor and
-control the backlight of the screen and keyboard. It also creates a
-fifo so that you can adjust relative brightness of the lcd.
+This daemon watches the reading from the ambient light sensor and
+controls the backlight of the screen and keyboard. It also creates a
+fifo so that you can adjust relative brightness of the screen.
It only supports sensors using the industrial I/O bus. It has a generic
-class for working with most types of iio devices though.
+class for working with many types of iio devices though.
The project also demostrates how damn stupid a C++ program could look like
(not yet to its maximum extent).
@@ -89,8 +89,9 @@ event=video/brightnessup
action=echo u 5 > /tmp/lightsd.cmd.fifo
```
-If your laptop turns keyboard backlight automatically when closing the lid,
-you may also want the following:
+If your laptop turns keyboard backlight off automatically when closing the
+lid (which I believe is what most laptops do), you may also want the
+following to turn it back on when you open the lid:
`/etc/acpi/events/lid-open`:
```