From fa7a8015feb5ff3e4d158e2d7f1b82fe94091555 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Wed, 15 Mar 2023 11:35:51 +0530 Subject: .local: adding some envscripts+udev rules for brillo --- etc/udev/rules.d/90-backlight.rules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/udev/rules.d/90-backlight.rules (limited to 'etc/udev/rules.d') 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" -- cgit v1.2.3