backlight
Description
This diff adds a backlight component to slstatus. It displays backlight percentages. On OpenBSD device permissions have to be adapted or slstatus has to be run as root (strongly discouraged!).
It was previously denied, because the backlight percentage can be literally "seen" when looking at a screen, and porting it is not possible without dirty hacks.
Download
Updated patch, with FreeBSD support:
Same patch as the above but fixes a file descriptor leak for OpenBSD and FreeBSD.
Authors
- Tobias Tschinkowitz he4d@posteo.de
- David Demelier markand@malikania.fr
- drkhsh me@drkhsh.at
- Son Phan Trung phantrungson17@gmail.com (FreeBSD support)
- c2ny c2ny@proton.me