diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-15 11:35:51 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-15 11:35:51 +0530 |
commit | fa7a8015feb5ff3e4d158e2d7f1b82fe94091555 (patch) | |
tree | 6e111a5ec2f5709898a2d43e637b137cbaa8a595 /etc/udev | |
parent | 46f86978d0f8c7538b615ba60e1332cc280f5cd0 (diff) |
.local: adding some envscripts+udev rules for brillo
Diffstat (limited to 'etc/udev')
-rw-r--r-- | etc/udev/rules.d/90-backlight.rules | 3 |
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" |