Dynamic menu interface for nordvpn
.
yofi
nordvpn
Just git clone this repo and place the yofi-nordvpn
file somewhere on your PATH
and make sure it is executable chmod +x yofi-nordvpn
.
There isn't much to configure. If you are not a yofi
user don't fret you simply need to adjust the menu
function to use your chosen dynamic menu program.
For easy embeding into your chosen status bar, consider using the -s
flag which outputs the current vpn status.
$ yofi-nordvpn -s
Paris
For polybar here is my module (using the Siji font):
[module/vpn]
type = custom/script
label =  %output%
exec = yofi-nordvpn -s
interval = 10
click-left = yofi-nordvpn &