2024-04-07 00:47:39 +03:00
|
|
|
# Thinkpad keyboard backlight brightness
|
|
|
|
|
|
2024-04-09 23:58:07 +03:00
|
|
|
This systemd service will turn the keyboard backlight on/off brightness
|
|
|
|
|
based on ambient light level threshold.
|
2024-04-07 00:58:28 +03:00
|
|
|
|
|
|
|
|
This is initially designed for _Thinkpad X1 Yoga (gen3)_ but should work
|
2024-04-09 23:58:07 +03:00
|
|
|
on other devices with no or minor configuration tweaks.
|
2024-04-07 00:47:39 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ sudo make install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
|
2024-04-07 14:38:51 +03:00
|
|
|
For device-specific configuration see:
|
|
|
|
|
[thinkpad-keyboard-brightness.conf](thinkpad-keyboard-brightness.conf)
|
2024-04-07 00:47:39 +03:00
|
|
|
|
2024-04-07 14:38:51 +03:00
|
|
|
This file lives in `/etc/thinkpad-keyboard-brightness.conf`
|
2024-04-07 00:47:39 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
## Uninstall
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ sudo make uninstall
|
|
|
|
|
```
|
|
|
|
|
|
2024-04-07 14:34:04 +03:00
|
|
|
Note that the above will not uninstall user configuration files, for a
|
|
|
|
|
full uninstall run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
$ sudo make full-uninstall
|
|
|
|
|
```
|
|
|
|
|
|
2024-04-07 00:58:28 +03:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
[BSD 3-Clause License](./LICENSE)
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2024, Alex A. Naanou,
|
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- vim:set ts=4 sw=4 spell : -->
|