if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then source $HOME/.profile exec sway --unsupported-gpu -d 2> /tmp/sway.log fi