Autstart X at login

This commit is contained in:
Hektor Misplon
2020-02-18 14:16:20 +00:00
parent 6f2c3306ac
commit 0f74d83e33

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