From 6acd5896ec61ff9ada302dd7a8773779c1a32c1a Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 10 Feb 2023 15:55:38 +0100 Subject: up --- .local/bin/conky/net.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.local/bin/conky') diff --git a/.local/bin/conky/net.sh b/.local/bin/conky/net.sh index 0a1bbee..e3f731b 100755 --- a/.local/bin/conky/net.sh +++ b/.local/bin/conky/net.sh @@ -23,6 +23,8 @@ if grep up "/sys/class/net/$if_main/operstate" >/dev/null 2>&1 && ! [ -z $(ifcon elif grep up "/sys/class/net/$if_alt/operstate" >/dev/null 2>&1 && ! [ -z $(ifconfig $if_alt 2>/dev/null | awk '/inet / {print $2}') ]; then if_main=$if_alt else + echo '${font1}NETWORK ${hr}${font} +${color #928374}No network${font}' exit fi -- cgit v1.2.3