Autstart X at login

master
Hektor Misplon 2020-02-18 14:16:20 +00:00
parent 6f2c3306ac
commit 0f74d83e33
1 changed files with 10 additions and 0 deletions

10
.bash_profile Normal file
View File

@ -0,0 +1,10 @@
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi