Fix terminal emulator detection

This commit is contained in:
coloursofnoise 2022-04-20 13:03:07 -07:00
parent 6ff45d0edd
commit 9abdae5fb4

View file

@ -3315,7 +3315,7 @@ get_term() {
name="$(get_process_name "$parent")"
case ${name// } in
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;;
"login"*|*"Login"*|"init"|"(init)")
term="$(tty)"