From 0b513a28dab9f9c30fc5805bf96c54d154023d16 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Thu, 14 Nov 2024 20:22:07 +0100 Subject: [PATCH] fix(ZSH): Launch sway by default in ZSH profile --- .config/zsh/.zprofile | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index b3c322e..dc65185 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -11,18 +11,5 @@ emulate sh -c '. ~/.profile' # Start X automatically if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then - case $HOST in - roc | zou) - : # Exceptions : On ne fait rien pour ces machines qui sont sous Xorg. - ;; - *) - # Pour toutes les autres on charge le contenu de .config/environment.d - # Cf. https://wiki.archlinux.org/title/Environment_variables#Per_Wayland_session - # use systemd-environment-d-generator(8) to generate environment, and export those variables - set -o allexport - source <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator) - set +o allexport - ;; - esac exec sway fi