diff --git a/.profile b/.profile index 53d16e5..c28fa2f 100644 --- a/.profile +++ b/.profile @@ -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 diff --git a/.xinitrc b/.xinitrc index 6cdb938..12be9cb 100644 --- a/.xinitrc +++ b/.xinitrc @@ -39,4 +39,5 @@ fi #exec xterm -geometry 80x66+0+0 -name login #exec $1 +# Le lancement est fait dans `.profile` pour prendre en compte Wayland exec i3