mirror of
https://github.com/dylanaraps/neofetch
synced 2025-12-30 00:05:08 -05:00
term: Fix errors if user disables terminal function.
This commit is contained in:
parent
b6cde78199
commit
e52b01f2dc
4
neofetch
4
neofetch
@ -1715,7 +1715,7 @@ get_term() {
|
||||
}
|
||||
|
||||
get_term_font() {
|
||||
((term_run != 1)) && get_term
|
||||
((term_run != 1)) && get_term 2>/dev/null
|
||||
|
||||
case "$term" in
|
||||
"alacritty"*)
|
||||
@ -3782,7 +3782,7 @@ get_term_padding() {
|
||||
#
|
||||
# Note: This issue only seems to affect
|
||||
# URxvt.
|
||||
((term_run != 1)) && get_term
|
||||
((term_run != 1)) && get_term 2>/dev/null
|
||||
|
||||
case "$term" in
|
||||
"URxvt"*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user