added udev rules for thunderbolt docks

This commit is contained in:
Jakub 2024-07-24 18:38:56 -04:00
parent 56130f51e8
commit 36f3a7c506
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"

View File

@ -0,0 +1,2 @@
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}="1", RUN+="/usr/bin/autorandr --batch -c"
ACTION=="remove", SUBSYSTEM=="thunderbolt", ATTR{authorized}="1", RUN+="/usr/bin/autorandr --batch -c"