summaryrefslogtreecommitdiffstats
path: root/handlers/udev_event_handler.sh
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/udev_event_handler.sh')
-rwxr-xr-xhandlers/udev_event_handler.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/handlers/udev_event_handler.sh b/handlers/udev_event_handler.sh
new file mode 100755
index 0000000..8b7541e
--- /dev/null
+++ b/handlers/udev_event_handler.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+su -c "DISPLAY=:0.0 ~/bin/displays/autodetect.sh" robin;