[-] Disable network display when network is not detected
This commit is contained in:
parent
9e001c530f
commit
1ba7b339c9
1 changed files with 1 additions and 3 deletions
4
neofetch
4
neofetch
|
@ -3223,9 +3223,7 @@ get_network() {
|
|||
fi
|
||||
fi
|
||||
done < <(sort -rn <<<"$networks" | uniq -c)
|
||||
if [ -z "$network" ]; then
|
||||
network="None"
|
||||
else
|
||||
if [ -n "$network" ]; then
|
||||
network="${network%; }"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue