From 1ba7b339c9d7cd75697766be4a112b7f854213c3 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Tue, 20 Sep 2022 11:44:17 -0400 Subject: [PATCH] [-] Disable network display when network is not detected --- neofetch | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/neofetch b/neofetch index ec09fbfc..5f4f4680 100755 --- a/neofetch +++ b/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 }