I have laptop and external display on docking station and I would like to switch to the external screen automatically when I connect to the docking station so I made simple udev rule which switches the display like this when I connect the docking station:
% xrandr --output HDMI3 --auto --primary --output LVDS1 --off Problem with that is that Awesome resets and forgets the window positions. Thanks, Olli Laasonen
