Autstart X at login
This commit is contained in:
1 parent
97e443982b
commit
9ab9a58d2a
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