8 lines
189 B
Bash
Executable file
8 lines
189 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if nmcli dev | grep tun0 | cut -f3 | grep " connecté" &>/dev/null
|
|
then
|
|
echo "<span foreground=\"#99CC99\">▣</span>"
|
|
else
|
|
echo "<span foreground=\"#515151\">▣</span>"
|
|
fi
|