#!/bin/zsh LAYOUT="$DOTWRYN/bin/$(hostnamectl --static)/default" [ -f $LAYOUT ] && { until xrandr -q >/dev/null 2>&1; do sleep .1; done $LAYOUT }