aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index a161e6d..86d040a 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,9 @@ The program is available in:
## Permissions
Modifying brightness requires write permissions for device files. This can be accomplished (without using sudo/su/etc.) by either of the following means:
+
1) installing brightnessctl as a suid binary (done by default)
+
2) adding a similar udev rule (assuming your user is in `video` group for backlight and `input` group for leds):
```
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video /sys/class/backlight/%k/brightness"