aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
blob: 24aa5a09d16a58c31590bab9b840bdb56d66cd45 (plain) (blame)
1
2
3
4
5
6
7
8
9
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
	  exec startx
fi