BUG: Xorg ne se lance plus (à cause des changements pour Sway)

This commit is contained in:
2021-06-25 14:13:12 +02:00
parent 7b551b83b8
commit 3e2a72cec1
2 changed files with 9 additions and 5 deletions

View File

@ -21,9 +21,12 @@ fi
# Démarrage de l'environnement préféré
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
if [ $HOST = 'fuztest' ] || [ $HOST = 'fuz' ]; then
exec sway
else
exec i3
fi
case $HOST in
fuz | fuztest)
exec sway
;;
*)
: # on ne fait rien, car c'est .xinitrc qui lance i3
;;
esac
fi