This is a workflow for Alfred that works with Viscosity to control OpenVPN connections.
The configured keyword is vpn
. That will show all of your configured
networks initially, and autocompletes (case-insensitively) on the
argument if one is provided.
The subtitle tells you if actioning the selection will connect or disconnect from that network.
There are Connect All/Disconnect All operations that will act on all VPN endpoints you've defined.
git clone https://github.com/andrewschleifer/viscosity-alfredworkflow.git $HOME/Library/Application\ Support/Alfred/Alfred.alfredpreferences/workflows/viscosity