diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/monitor-hotplug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/monitor-hotplug b/bin/monitor-hotplug new file mode 100755 index 0000000..6c2d1d6 --- /dev/null +++ b/bin/monitor-hotplug @@ -0,0 +1,7 @@ +#!/bin/bash +# Script to be called upon hotplug (change) udev event, to acquire correct resolution for connected screens + +export DISPLAY=:0 +export XAUTHORITY=/home/dave/.Xauthority + +/usr/bin/autorandr -c & |