shervinsahba / polybar-vpn-controller

Polybar module for VPN control. Set up for Mullvad VPN but modifiable for others.
MIT License
58 stars 12 forks source link

More portability improvements #5

Closed jamc-code closed 3 years ago

jamc-code commented 3 years ago

Hi! While creating the python script for country -> country code conversion, I ended up finding ways to improve portability. Mainly, this is done with a grep call instead of the cuts we had previously. I also added a var called "VPN_PROVIDER" to allow users to clearly set that from the get go, and we can also use it in the sed script you mentioned to configure the main script.

Let me know what you think and have a great day!!

jamc-code commented 3 years ago

Hey! I cleaned up the integration of the country code converter and updated the README to reflect that logging issue you found the other week. Hope you're doing well! - Julia