diff --git a/bash/bashrc b/bash/bashrc index 04d6b503f..9444326ed 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -17,8 +17,10 @@ esac # agetty is set to automatically log me in on tty1 # Automatically launch GUI on tty1 after login +# I don't think that this is used anymore in Sericea, I think autologin is handled by SDDM +# Still, it does not hurt for later distrohopping if [ "$(tty)" == '/dev/tty1' ] && [ ! "$SSH_TTY" ]; then - . "${HOME}/.dotfiles/bash/bash_login" + source "${HOME}/.dotfiles/bash/bash_login" LAST_GUI=$(cat "${HOME}/.spool/last_login_gui" 2>/dev/null) if [ -f "${HOME}/.spool/last_login_gui" ]; then ${HOME}/scripts/${LAST_GUI}/start${LAST_GUI}.sh