A shell script that sets the brightness on devices using login1
D-Bus
interface on Linux. It is made to set screen brightness in GUI sessions as a
regular user without modifying other configuration.
Copy l1light.sh
to a directory included in $PATH
and rename it to l1light
or run make install
. Script and man page is installed to the home directory
by default in the Makefile.
The programs written below are used but they are usually installed:
awk
dbus-send
- setting brightnessudevadm
- used with detecting device when not specified
POSIX 2017 is adhered in source code.
- RPigott/blight
- blight has more features and probably works better