Add icon to wifi.sh

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2017-03-30 19:24:22 +02:00
parent c4dc0e497c
commit 858b7462f5

View file

@ -1,10 +1,10 @@
#!/bin/bash
# wifi.sh
if [ "$(cat /sys/class/net/$INTERFACE/operstate)" = "down" ]; then
echo "Wifi not connected"
echo "Wifi not connected"
fi
SSID=$(iwgetid -r)
echo "Connected to $SSID"
echo "Connected to $SSID"