if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && command -v sway >/dev/null ; then systemctl --user start graphical-session.target export XDG_SESSION_TYPE="wayland" exec sway fi