Change ProtonVPN command.
This commit is contained in:
parent
db9fe7c045
commit
acb29227a0
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
protonvpn refresh
|
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
|
# 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
|
sway-launcher-desktop autostart
|
||||||
|
|
|
@ -119,6 +119,6 @@
|
||||||
"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"
|
"on-click": "protonvpn refresh && env SUDO_USER=$USER doas protonvpn c -f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue