diff --git a/alfred-wireguard.alfredworkflow b/alfred-wireguard.alfredworkflow index 9f654b6..5d93e8b 100644 Binary files a/alfred-wireguard.alfredworkflow and b/alfred-wireguard.alfredworkflow differ diff --git a/info.plist b/info.plist index 0165e33..4d93e78 100644 --- a/info.plist +++ b/info.plist @@ -38,11 +38,11 @@ createdby Christian Olsen description - Toggle Wiregaurd VPN connections + Toggle WireGaurd VPN connections disabled name - Wireguard Control + WireGuard Control objects @@ -57,7 +57,7 @@ argumenttrimmode 0 argumenttype - 2 + 1 escaping 102 keyword @@ -81,11 +81,11 @@ subtext title - Wireguard VPN + WireGuard VPN type 0 withspace - + type alfred.workflow.input.scriptfilter @@ -106,7 +106,7 @@ text {query} title - Wireguard VPN + WireGuard VPN type alfred.workflow.output.notification @@ -140,31 +140,33 @@ readme - Wireguard Control enables the user to toggle predefined Wire Guard VPN tunnels, using the keyword wguard. + WireGuard Control enables the user to toggle predefined Wire Guard VPN tunnels, using the keyword wguard. uidata 1EE8D950-821D-49FA-9FD5-7B94DD45056F xpos - 620 + 620 ypos - 180 + 180 661B2258-0E04-428F-8393-E8EBF6A096C5 xpos - 410 + 410 ypos - 180 + 180 A223DE44-0855-4BF8-8A0E-021475E7FFF9 xpos - 190 + 190 ypos - 180 + 180 + userconfigurationconfig + variablesdontexport version diff --git a/vpnlist.sh b/vpnlist.sh index 71e36df..b7a49f2 100755 --- a/vpnlist.sh +++ b/vpnlist.sh @@ -1,7 +1,7 @@ #!/bin/bash get_vpn_names() { - scutil --nc list | grep "com.wireguard.macos" | awk -F'"' '{print$2}' + scutil --nc list | grep "com.wireguard.macos" | awk -F'"' '{print$2}' | sort } get_vpn_status() {