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

Shorter variable names, IP addresss is identified with regex #3

Closed jamc-code closed 3 years ago

jamc-code commented 3 years ago

Hey! I shortened some variable names (personal preference, feel free to leave out), and switched IP identification to be found with awk + regex instead of cut, allowing for better portability with other vpn providers.

shervinsahba commented 3 years ago

Looks good to me! Thanks!