./openconnect-pulse-launcher.py <vpn_url> where <vpn_url> is something like https://hostname/emp.
This python script should work on any distro with the following binaries installed:
awk
ifconfig
openconnect
pkill
route
It can also be used on Nix using the included flake.nix file.
Add the following to the inputs section of your flake.nix:
openconnect-pulse-launcher = {
url = "github:erahhal/openconnect-pulse-launcher";
## Only add this if you want openconnect-pulse-launcher to use the same version of
## chrmomium as the one installed on your system.
inputs.nixpkgs.follows = "nixpkgs";
};And add the following package somewhere in your config:
inputs.openconnect-pulse-launcher.packages."${pkgs.system}".openconnect-pulse-launcher- Launch chromium manually (
--user-data-dirmust be full path, no~/)
chromium --user-data-dir=/home/<username>/.config/chromedriver/pulsevpn- Install the Bitwarden extension and setup
- WARNING: make sure to use "inputs.nixpkgs.follows" as shown above, or else different chromium versions could be used, corrupting the user-data-dir.