Term: get_term(): ignore kdeinit, #791
This commit is contained in:
parent
af09dc29bf
commit
110e46bc6b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1701,7 +1701,7 @@ get_term() {
|
||||||
case "${name// }" in
|
case "${name// }" in
|
||||||
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;;
|
"${SHELL/*\/}" | *"sh" | "tmux"* | "screen" | "su"*) ;;
|
||||||
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
"login"* | *"Login"* | "init" | "(init)") term="$(tty)" ;;
|
||||||
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"*) break ;;
|
"ruby" | "1" | "systemd" | "sshd"* | "python"* | "USER"*"PID"* | "kdeinit"*) break ;;
|
||||||
"gnome-terminal-") term="gnome-terminal" ;;
|
"gnome-terminal-") term="gnome-terminal" ;;
|
||||||
*"nvim") term="Neovim Terminal" ;;
|
*"nvim") term="Neovim Terminal" ;;
|
||||||
*"NeoVimServer"*) term="VimR Terminal" ;;
|
*"NeoVimServer"*) term="VimR Terminal" ;;
|
||||||
|
|
Loading…
Reference in a new issue