dotfiles/.bash_profile

19 lines
298 B
Bash

#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
# custom scripts and programs
PATH="$HOME/.local/bin:$PATH"
PATH="$HOME/.config/scripts/bin:$PATH"
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
if [[ ! -z "$IS_LAPTOP" ]]; then
exec startx
else
exec start-sway.sh
fi
fi