Home

Awesome

polybar-protonvpn

ProtonVPN module for Polybar. Shows the IP Address, Server and Connected Time. Click to Connect / Disconnect

preview

Dependencies

* Only if you use the provided icons

Usage

Place the given script in some folder, and use it in your polybar config as

[module/protonvpn]
type = custom/script
exec = "/path/to/script/polybar-protonvpn -o"
tail = true

Customization

You can change the variables in the script to customize some settings

VARIABLEUSE
COLOR_CONNECTEDColor of the icon when VPN is connected
COLOR_DISCONNECTEDColor of the icon when VPN is disconnected
ICON_CONNECTEDThe icon when VPN is connected
ICON_DISCONNECTEDThe icon when VPN is disconnected
INTERVALTime interval between switching outputs
PRINT_VALUESThe data to output one by one