Fix terminal emulator detection
This commit is contained in:
parent
6ff45d0edd
commit
9abdae5fb4
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue