From 92589d542367effabc53920410debf8b3e2bd9b6 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 26 Dec 2022 23:54:27 +0100 Subject: [PATCH] polybar:vpn: Support wireguard connections --- .config/polybar/scripts/vpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/polybar/scripts/vpn.sh b/.config/polybar/scripts/vpn.sh index f22d118..ec8708e 100755 --- a/.config/polybar/scripts/vpn.sh +++ b/.config/polybar/scripts/vpn.sh @@ -1,6 +1,6 @@ #!/bin/sh -connection="$(nmcli con show --active | awk '$3 ~ /^(vpn|tun)$/ { print $1 }')" +connection="$(nmcli con show --active | awk '$3 ~ /^(vpn|tun|wireguard)$/ { print $1 }')" if [ -n "$connection" ]; then echo "VPN: $connection" exit 0