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
1 changed files with 2 additions and 1 deletions

View File

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