diff --git a/status-ip.sh b/status-ip.sh index c62849d..f80c095 100755 --- a/status-ip.sh +++ b/status-ip.sh @@ -8,11 +8,9 @@ EXIT="$?" if [ "$var_conn" == "on" ]; then if $(echo $IP | grep -qE "$VPNIP"); then - IMAGE="/usr/share/icons/gnome/16x16/apps/gnome-monitor.png" TEXT="VPN ($IP)" var_ip4="$IP" var_vpn="on" - echo "$IMAGE" elif ([ "$EXIT" == 4 ] || [ "$EXIT" == 6 ] || [ "$EXIT" == 28 ]); then EXIT="fail" TEXT="t/o" @@ -23,7 +21,7 @@ if [ "$var_conn" == "on" ]; then var_vpn="off" fi - echo " $TEXT" + echo "$TEXT" # If request was successful, try IPv6 as well if [ "$EXIT" != "fail" ]; then @@ -36,11 +34,11 @@ if [ "$var_conn" == "on" ]; then TEXT="$IP6" var_ip6="$IP6" fi - echo "IPv6: $TEXT" + echo "IPv6: $TEXT" fi else - echo "offline" - echo "Offline status is set. Turn on to enable checks" + echo "offline" + echo "Offline status is set. Turn on to enable checks" var_vpn=off var_ip4=0.0.0.0 var_ip6=::0 diff --git a/status-misc.sh b/status-misc.sh index 0ab57d6..53615b8 100755 --- a/status-misc.sh +++ b/status-misc.sh @@ -75,9 +75,7 @@ OUT=$(echo $OUT | sed -r 's/^;//') OUT=$(echo $OUT | sed -r 's/;/ \| /g') TOOL=$(echo $TOOL | sed -r 's/^;//') TOOL=$(echo $TOOL | sed -r 's/;/ \| /g') -echo "$OUT" -echo "$TOOL" -echo "/usr/share/icons/gnome/16x16/actions/format-justify-fill.png" -echo "xfce4-terminal -x $CURDIR/status-interaction.sh &" +echo "$OUT" +echo "$TOOL" wtmp var_mailqueue_runs # write updated values back to status file