Dynamic menu interface for nordvpn
.
Dependencies:
rofi
nordvpn
Just git clone this repo and place the rofi-nordvpn
file somewhere on your PATH
and make sure it is executable chmod +x rofi-nordvpn
.
For Arch Linux (and derivatives):
paru -S rofi-nordvpn-git
For easy embedding into your chosen status bar, consider using the -s
flag which outputs the current vpn status.
$ rofi-nordvpn -s
Paris
For polybar
:
[module/vpn]
type = custom/script
label = 👻 %output%
exec = rofi-nordvpn -s
interval = 10
click-left = rofi-nordvpn &