Polybar Vpn Controller Versions Save

Polybar module for VPN control. Set up for Mullvad VPN but modifiable for others.

v1.0.1-alpha

1 year ago

Re-implemented the ability to set user favorites.

See the ./mullvad/update_mullvad_relays file, and edit the following array if desired.

# Example:
#   user_fav_locations=("✯ Seattle" "✯ Chicago" "✯ The Big Apple")
#   user_fav_codes=("us sea" "us chi" "us nyc")
# Leave blank for no favorites.

user_fav_locations=()  # SET THIS! Create an array of names, whatever you choose.
user_fav_codes=()      # SET THIS! Put in the matching mullvad relay codes here.

v0.5.0

1 year ago

Since I made some API breaking changes for v1.0.0. Here's the state of the repo prior to the new main branch. The old master branch (now named... old-master) will no longer be maintained. I'll do my best to improve the new main, seeing that this repo has gained some interest in the polybar community.

v1.0.0-alpha

1 year ago

Overhauled the package...

  • Renamed utility from vpn_module.sh to the more modern vpn_module. Several command calls have changed. See the usage section below or run vpn_module help. You can probably just re-clone the package and re-copy the new vpn_user_module. The previous version is left under the branch old-master.
  • Added city level VPN locations! You can now select ANY of mullvad's relays through the rofi menu!
  • Replaced all the hard-coded VPN locations and rofi menu scripting with more extensible, dynamic scripting. The script now relies on a the mullvad directory, which contains VPN locations and their relay codes. Notably, the data files in this directory are all updated by running the update_mullvad_relays script.
  • Removed the favorite VPN array for now.
  • Removed the provided font, as it wasn't being used. Please use a Nerd Font if you'd like to match the contained glyphs or otherwise alter the icons for now.
  • Added a help menu that comes up when you run vpn_module help or the script with no parameters.