We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36834d0 commit 4034c04Copy full SHA for 4034c04
archlinux/install/tilling/config/waybar/scripts/wireguard.sh
@@ -3,7 +3,7 @@
3
interfaces=$(ip -o link show type wireguard | awk -F': ' '{print $2}' | cut -d@ -f1)
4
5
if [ -z "$interfaces" ]; then
6
- echo '{"text":" VPN off","class":"disconnected","icon":""}'
+ echo '{"text":" VPN","class":"disconnected","icon":""}'
7
else
8
text=$(echo "${interfaces^}" | tr '\n' ' ' | sed 's/ $//')
9
echo "{\"text\":\" $text\",\"class\":\"connected\",\"icon\":\"\"}"
0 commit comments