PrawnOS-nonfree/filesystem/resources/InstallResources/xfce-config/brightness/backlight.rules
2020-06-29 20:39:56 -07:00

5 lines
271 B
Plaintext

/etc/udev/rules.d/backlight.rules
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="backlight", RUN+="/bin/chmod g+w /sys/class/backlight/%k/brightness"