From e676b707383d8c29895026bab89dba7c430987e5 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Wed, 31 Jan 2024 22:32:04 -0700 Subject: [PATCH] Do I still need autologin hack? --- bash/bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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