Waybar: Make pvpn module reconnect to VPN when clicked on.

This commit is contained in:
the_4n0nym0u53 2021-11-20 19:01:19 +01:00
parent 4eea5fdfd8
commit 55addaaf2c
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB

View file

@ -118,6 +118,7 @@
"format": "ProtonVPN {}", "format": "ProtonVPN {}",
"exec": "$HOME/.config/waybar/pvpn.sh", "exec": "$HOME/.config/waybar/pvpn.sh",
"return-type": "json", "return-type": "json",
"interval": 5 "interval": 5,
"on-click": "env SUDO_USER=$USER doas protonvpn c --cc DK"
} }
} }