config/root/etc/udev/rules.d/99-thunderbolt-autorandr.rules

3 lines
203 B
Plaintext

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"