This systemd service will turn the keyboard backlight on/off brightness based on ambient light level threshold.
This is initially designed for Thinkpad X1 Yoga (gen3) but should work on other devices with no or minor configuration tweaks.
$ sudo make install
For device-specific configuration see: thinkpad-keyboard-brightness.conf
This file lives in /etc/thinkpad-keyboard-brightness.conf
$ sudo make uninstall
Note that the above will not uninstall user configuration files, for a full uninstall run:
$ sudo make full-uninstall
Copyright (c) 2024, Alex A. Naanou,
All rights reserved.