Add icon to wifi.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
c4dc0e497c
commit
858b7462f5
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue