dotfiles/.bash_profile

10 lines
162 B
Bash
Raw Permalink Normal View History

2020-12-01 02:27:42 +01:00
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi