diff --git a/hypr/backlight.rules b/hypr/backlight.rules new file mode 100644 index 0000000..5440ae6 --- /dev/null +++ b/hypr/backlight.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness" diff --git a/readme.md b/readme.md index 4f5df32..d62e6e8 100644 --- a/readme.md +++ b/readme.md @@ -1 +1,4 @@ ![output](https://github.com/CoolnsX/hyprdots/assets/76195824/1d53c966-bdc4-4958-a4a0-e3495cbe989c) + +## Note for backlight +- Copy the file from .config/hypr/backlight.rules to /etc/udev/rules.d/ directory