# # ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ ! -z "$IS_LAPTOP" ]]; then exec startx else exec start-sway.sh fi fi