aboutsummaryrefslogtreecommitdiffstats
path: root/bin/monitor-hotplug
blob: 6c2d1d6c50ac99690cf441960e0767f7a17a2710 (plain)
1
2
3
4
5
6
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 &