summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/udev/rules.d/90-backlight.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/rules.d/90-backlight.rules b/etc/udev/rules.d/90-backlight.rules
new file mode 100644
index 0000000..231c2a4
--- /dev/null
+++ b/etc/udev/rules.d/90-backlight.rules
@@ -0,0 +1,3 @@
+SUBSYSTEM=="backlight", ACTION=="add",
+RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness",
+RUN+="/bin/chmod o+w /sys/class/backlight/intel_backlight/brightness"