diff options
-rwxr-xr-x | .local/bin/conky/net.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |