From 95bb223a7763f5c7cee3a09c121479081c35a713 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 16 Mar 2025 14:50:07 +0100 Subject: update --- .local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules (limited to '.local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules') diff --git a/.local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules b/.local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules new file mode 100644 index 0000000..465eada --- /dev/null +++ b/.local/hosts/swift/etc/udev/rules.d/95-hdmi-plug.rules @@ -0,0 +1,5 @@ +ACTION=="change", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" + +ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="25a4", ATTRS{idProduct}=="9311", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" + +ACTION=="remove", SUBSYSTEMS=="usb", ATTRS{idVendor}=="25a4", ATTRS{idProduct}=="9311", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/marc/.Xauthority", RUN+="/home/marc/bin/hdmi" -- cgit v1.2.3