From 3e2a72cec103db2235acebb6c8f690a94811720c Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Fri, 25 Jun 2021 14:13:12 +0200 Subject: [PATCH] =?UTF-8?q?BUG:=20Xorg=20ne=20se=20lance=20plus=20(=C3=A0?= =?UTF-8?q?=20cause=20des=20changements=20pour=20Sway)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .profile | 13 ++++++++----- .xinitrc | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) 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