term: Fix errors if user disables terminal function.
This commit is contained in:
parent
b6cde78199
commit
e52b01f2dc
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1715,7 +1715,7 @@ get_term() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_term_font() {
|
get_term_font() {
|
||||||
((term_run != 1)) && get_term
|
((term_run != 1)) && get_term 2>/dev/null
|
||||||
|
|
||||||
case "$term" in
|
case "$term" in
|
||||||
"alacritty"*)
|
"alacritty"*)
|
||||||
|
@ -3782,7 +3782,7 @@ get_term_padding() {
|
||||||
#
|
#
|
||||||
# Note: This issue only seems to affect
|
# Note: This issue only seems to affect
|
||||||
# URxvt.
|
# URxvt.
|
||||||
((term_run != 1)) && get_term
|
((term_run != 1)) && get_term 2>/dev/null
|
||||||
|
|
||||||
case "$term" in
|
case "$term" in
|
||||||
"URxvt"*)
|
"URxvt"*)
|
||||||
|
|
Loading…
Reference in a new issue