Waybar: Make pvpn module reconnect to VPN when clicked on.
This commit is contained in:
parent
4eea5fdfd8
commit
55addaaf2c
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue