#!/bin/bash
mainoutput=""
case "$SRANDRD_ACTION" in
"$mainoutput connected")
xrandr --output $mainoutput --auto
;;
esac