From ac4859f7a953df06918ec41263b95c4607d5c9b6 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Wed, 31 Jan 2024 22:33:38 -0700 Subject: [PATCH] Move up TERM_TITLE Still not received from Alacritty? This was working... --- bash/bashrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index e5e8768d4..5f46fbb1c 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -15,6 +15,12 @@ case $- in *) return;; esac +# Load default $TERM as $TERM_TITLE if not provided by alacritty config +echo $TERM_TITLE +if [[ -z $TERM_TITLE ]]; then + TERM_TITLE="$TERM"; +fi + # 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 @@ -32,8 +38,6 @@ if [ -e ${HOME}/.dotfiles/bash/shell_config ]; then source ${HOME}/.dotfiles/bash/shell_config fi -if [[ -z $TERM_TITLE ]]; then - TERM_TITLE="$TERM"; fi