ZSH: déplacement de code pour le démarrage de la session graphique

This commit is contained in:
2019-10-14 22:32:54 +02:00
parent db5512ee48
commit f665c5e301
2 changed files with 5 additions and 5 deletions

View File

@ -1 +1,6 @@
emulate sh -c '. ~/.profile'
# Start X automatically
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi