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

3 lines
194 B
Plaintext
Raw Normal View History

2022-10-07 06:19:14 +00:00
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"