xinitrc/.config/srandrd.d/thurstyserv.conf

9 lines
130 B
Bash

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