archcraft-xfce/profile/airootfs/etc/udev/rules.d/70-backlight.rules

3 lines
194 B
Plaintext

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