# .profile permet d'avoir # 1. TERMINAL (choix d'un terminal par défaut) # 2. BATPATH (pour la batterie) # 3. PATH initial # TODO: vraiment nécessaire ? emulate sh -c '. ~/.profile' # TODO: vérifier si ce code commenté fonctionne #export PYENV_ROOT="$HOME/.pyenv" #export PATH="$PYENV_ROOT/bin:$PATH" #eval "$(pyenv init --path)" # Start X automatically if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec sway fi