configs/arch-config/etc/udev/rules.d/90-backlight.rules

4 lines
164 B
Plaintext

SUBSYSTEM=="backlight", ACTION=="add", \
RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness", \
RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"