diff --git a/etc/udev/rules.d/50-huion-tablet.rules b/etc/udev/rules.d/50-huion-tablet.rules new file mode 100644 index 0000000..f85eaa7 --- /dev/null +++ b/etc/udev/rules.d/50-huion-tablet.rules @@ -0,0 +1 @@ +ACTION=="add",SUBSYSTEM=="usb",ATTRS{idVendor}=="256c",ATTRS{idProduct}=="006e",ENV{XAUTHORITY}="/home/toerd/.Xauthority",RUN+="/home/toerd/.dotfiles/huion/huion_udev.sh",MODE="0666",OWNER="toerd" \ No newline at end of file diff --git a/etc/udev/rules.d/90-backlight.rules b/etc/udev/rules.d/90-backlight.rules new file mode 100644 index 0000000..3d4588d --- /dev/null +++ b/etc/udev/rules.d/90-backlight.rules @@ -0,0 +1,3 @@ +SUBSYSTEM=="backlight", ACTION=="add", \ + RUN+="/bin/chgrp video %S%p/brightness", \ + RUN+="/bin/chmod g+w %S%p/brightness"