2020-06-25 05:48:14 +08:00
|
|
|
#
|
|
|
|
# ~/.bash_profile
|
|
|
|
#
|
|
|
|
|
|
|
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
|
|
|
|
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
2022-06-17 20:20:03 +08:00
|
|
|
if [[ ! -z "$IS_LAPTOP" ]]; then
|
|
|
|
exec startx
|
|
|
|
else
|
|
|
|
exec start-sway.sh
|
|
|
|
fi
|
2020-06-25 05:48:14 +08:00
|
|
|
fi
|
2021-03-06 22:04:06 +08:00
|
|
|
|