Change ProtonVPN command.

This commit is contained in:
the_4n0nym0u53 2021-11-26 09:02:18 +01:00
parent db9fe7c045
commit acb29227a0
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
protonvpn refresh
env SUDO_USER=$USER doas protonvpn c --cc DK
env SUDO_USER=$USER doas protonvpn c -f
# Uncomment below to use sudo instead of doas, comment the above line
#sudo protonvpn c --cc DK
#sudo protonvpn c -f
sway-launcher-desktop autostart

View file

@ -119,6 +119,6 @@
"exec": "$HOME/.config/waybar/pvpn.sh",
"return-type": "json",
"interval": 5,
"on-click": "env SUDO_USER=$USER doas protonvpn c --cc DK"
"on-click": "protonvpn refresh && env SUDO_USER=$USER doas protonvpn c -f"
}
}