[-] 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
|
||||||
fi
|
fi
|
||||||
done < <(sort -rn <<<"$networks" | uniq -c)
|
done < <(sort -rn <<<"$networks" | uniq -c)
|
||||||
if [ -z "$network" ]; then
|
if [ -n "$network" ]; then
|
||||||
network="None"
|
|
||||||
else
|
|
||||||
network="${network%; }"
|
network="${network%; }"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue