dotfiles/.bash_profile

15 lines
198 B
Bash

#
# ~/.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