Autstart X at login
This commit is contained in:
1 parent
6f2c3306ac
commit
0f74d83e33
1 file changed
+10
@@ -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
|
||||||
|
|
||||||
Reference in new issue
Block a user